	format	MS COFF
	extrn	___bb_appstub_appstub
	extrn	___bb_audio_audio
	extrn	___bb_base64_base64
	extrn	___bb_basic_basic
	extrn	___bb_blitz_blitz
	extrn	___bb_bmploader_bmploader
	extrn	___bb_d3d7max2d_d3d7max2d
	extrn	___bb_d3d9max2d_d3d9max2d
	extrn	___bb_data_data
	extrn	___bb_directsoundaudio_directsoundaudio
	extrn	___bb_drivers_drivers
	extrn	___bb_eventqueue_eventqueue
	extrn	___bb_freeaudioaudio_freeaudioaudio
	extrn	___bb_freejoy_freejoy
	extrn	___bb_freeprocess_freeprocess
	extrn	___bb_freetypefont_freetypefont
	extrn	___bb_glew_glew
	extrn	___bb_gnet_gnet
	extrn	___bb_jpgloader_jpgloader
	extrn	___bb_macos_macos
	extrn	___bb_maxlua_maxlua
	extrn	___bb_maxml_maxml
	extrn	___bb_maxutil_maxutil
	extrn	___bb_oggloader_oggloader
	extrn	___bb_openalaudio_openalaudio
	extrn	___bb_pngloader_pngloader
	extrn	___bb_retro_retro
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_threads_threads
	extrn	___bb_timer_timer
	extrn	___bb_wavloader_wavloader
	extrn	_bah_base64_TBase64
	extrn	_bbAppTitle
	extrn	_bbArrayNew
	extrn	_bbArrayNew1D
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbEnd
	extrn	_bbGCFree
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbOnDebugEnterScope
	extrn	_bbOnDebugEnterStm
	extrn	_bbOnDebugLeaveScope
	extrn	_bbStringClass
	extrn	_bbStringCompare
	extrn	_bbStringConcat
	extrn	_bbStringFromChar
	extrn	_bbStringFromInt
	extrn	_bbStringToInt
	extrn	_brl_bank_CreateBank
	extrn	_brl_bank_TBank
	extrn	_brl_blitz_ArrayBoundsError
	extrn	_brl_blitz_DebugLog
	extrn	_brl_blitz_NullObjectError
	extrn	_brl_eventqueue_EventData
	extrn	_brl_eventqueue_EventID
	extrn	_brl_eventqueue_EventSource
	extrn	_brl_eventqueue_PollEvent
	extrn	_brl_eventqueue_WaitEvent
	extrn	_brl_filesystem_CloseFile
	extrn	_brl_filesystem_CopyDir
	extrn	_brl_filesystem_CopyFile
	extrn	_brl_filesystem_CreateDir
	extrn	_brl_filesystem_CurrentDir
	extrn	_brl_filesystem_FileType
	extrn	_brl_filesystem_ReadFile
	extrn	_brl_filesystem_StripDir
	extrn	_brl_filesystem_StripExt
	extrn	_brl_filesystem_WriteFile
	extrn	_brl_graphics_Flip
	extrn	_brl_graphics_SetGraphics
	extrn	_brl_linkedlist_CountList
	extrn	_brl_linkedlist_ListAddLast
	extrn	_brl_linkedlist_ListRemove
	extrn	_brl_linkedlist_TList
	extrn	_brl_max2d_Cls
	extrn	_brl_max2d_DrawRect
	extrn	_brl_max2d_SetBlend
	extrn	_brl_max2d_SetColor
	extrn	_brl_pixmap_ClearPixels
	extrn	_brl_pixmap_CreatePixmap
	extrn	_brl_pixmap_ReadPixel
	extrn	_brl_pixmap_WritePixel
	extrn	_brl_pngloader_SavePixmapPNG
	extrn	_brl_random_Rand
	extrn	_brl_retro_Lower
	extrn	_brl_retro_Replace
	extrn	_brl_retro_Right
	extrn	_brl_stream_CopyBytes
	extrn	_brl_stream_Eof
	extrn	_brl_stream_ReadByte
	extrn	_brl_stream_ReadShort
	extrn	_brl_stream_SeekStream
	extrn	_brl_stream_StreamPos
	extrn	_brl_stream_StreamSize
	extrn	_brl_stream_WriteByte
	extrn	_brl_stream_WriteInt
	extrn	_brl_system_Notify
	extrn	_brl_system_RequestDir
	extrn	_brl_system_RequestFile
	extrn	_brl_timer_CreateTimer
	extrn	_maxgui_maxgui_CanvasGraphics
	extrn	_maxgui_maxgui_ClientHeight
	extrn	_maxgui_maxgui_ClientWidth
	extrn	_maxgui_maxgui_CreateCanvas
	extrn	_maxgui_maxgui_CreateMenu
	extrn	_maxgui_maxgui_CreatePanel
	extrn	_maxgui_maxgui_CreateSlider
	extrn	_maxgui_maxgui_CreateToolbar
	extrn	_maxgui_maxgui_CreateWindow
	extrn	_maxgui_maxgui_Desktop
	extrn	_maxgui_maxgui_FreeGadget
	extrn	_maxgui_maxgui_GadgetExtra
	extrn	_maxgui_maxgui_GadgetHeight
	extrn	_maxgui_maxgui_GadgetWidth
	extrn	_maxgui_maxgui_SetGadgetExtra
	extrn	_maxgui_maxgui_SetGadgetShape
	extrn	_maxgui_maxgui_SetPanelPixmap
	extrn	_maxgui_maxgui_SetSliderRange
	extrn	_maxgui_maxgui_SetSliderValue
	extrn	_maxgui_maxgui_SetStatusText
	extrn	_maxgui_maxgui_SetToolbarTips
	extrn	_maxgui_maxgui_TGadget
	extrn	_maxgui_maxgui_UpdateWindowMenu
	extrn	_maxgui_maxgui_WindowMenu
	extrn	_pub_maxml_xmlDocument
	public	__bb_BackdropData_Delete
	public	__bb_BackdropData_LoadBackdrop
	public	__bb_BackdropData_New
	public	__bb_BackdropState_Delete
	public	__bb_BackdropState_Loadsets
	public	__bb_BackdropState_New
	public	__bb_DoorLink_Delete
	public	__bb_DoorLink_New
	public	__bb_Door_Delete
	public	__bb_Door_New
	public	__bb_EditorWindow_Delete
	public	__bb_EditorWindow_New
	public	__bb_EditorWindow_Update
	public	__bb_EditorWindow_UpdateCanvas
	public	__bb_EditorWindow_UpdateUI
	public	__bb_FileLump_Delete
	public	__bb_FileLump_Large
	public	__bb_FileLump_LoadGeneralData
	public	__bb_FileLump_LoadRecord
	public	__bb_FileLump_LoadRecordStream
	public	__bb_FileLump_New
	public	__bb_FileLump_Small
	public	__bb_FileLump_Upgrade
	public	__bb_FileLump_UpgradeSongs
	public	__bb_FileLump_array2str
	public	__bb_FileLump_boundInt
	public	__bb_FileLump_boundShort
	public	__bb_FileLump_curbinsize
	public	__bb_FileLump_defbinsize
	public	__bb_FileLump_dimbinsize
	public	__bb_FileLump_getbinsize
	public	__bb_FileLump_loadrecords
	public	__bb_FileLump_maplumpname
	public	__bb_FileLump_matchmask
	public	__bb_FileLump_unlump
	public	__bb_FileLump_unlumpfile
	public	__bb_FileLump_xbload
	public	__bb_Frame_Delete
	public	__bb_Frame_New
	public	__bb_Frame_initframe
	public	__bb_Frame_initframe_bysize
	public	__bb_LumpIndex_Delete
	public	__bb_LumpIndex_New
	public	__bb_LumpUnion_Delete
	public	__bb_LumpUnion_New
	public	__bb_Lump_Delete
	public	__bb_Lump_New
	public	__bb_LumpedLump_Delete
	public	__bb_LumpedLump_New
	public	__bb_Lumptype_Delete
	public	__bb_Lumptype_New
	public	__bb_MainEditor_Delete
	public	__bb_MainEditor_New
	public	__bb_MainEditor_Setup
	public	__bb_MainEditor_UpdateUI
	public	__bb_MapeditState_DeSerDoors
	public	__bb_MapeditState_Delete
	public	__bb_MapeditState_DeserDoorLinks
	public	__bb_MapeditState_LoadNPCD
	public	__bb_MapeditState_LoadNPCL
	public	__bb_MapeditState_LoadTilemap
	public	__bb_MapeditState_Loadmap
	public	__bb_MapeditState_New
	public	__bb_MapeditState_SetNPCD
	public	__bb_MapeditState_getmapname
	public	__bb_MapeditState_layer_tileset_index
	public	__bb_MapeditState_loadmaptilesets
	public	__bb_MaptilesSelector_Delete
	public	__bb_MaptilesSelector_New
	public	__bb_MaptilesSelector_Setup
	public	__bb_MouseInfo_Delete
	public	__bb_MouseInfo_New
	public	__bb_NPCInst_Delete
	public	__bb_NPCInst_New
	public	__bb_NPCType_Delete
	public	__bb_NPCType_New
	public	__bb_Palette256_Delete
	public	__bb_Palette256_New
	public	__bb_RGBP_Delete
	public	__bb_RGBP_New
	public	__bb_RPGXML_CreateXML
	public	__bb_RPGXML_Delete
	public	__bb_RPGXML_New
	public	__bb_SongState_CreateState
	public	__bb_SongState_Delete
	public	__bb_SongState_New
	public	__bb_SoundState_CreateState
	public	__bb_SoundState_Delete
	public	__bb_SoundState_New
	public	__bb_SpriteEditor_Delete
	public	__bb_SpriteEditor_New
	public	__bb_SpriteEditor_Setup
	public	__bb_SpriteEditor_UpdateCanvas
	public	__bb_SpriteEditor_UpdateUI
	public	__bb_SpriteSelector_Delete
	public	__bb_SpriteSelector_New
	public	__bb_SpriteSelector_Setup
	public	__bb_SpriteSelector_UpdateUI
	public	__bb_SpriteSet_Delete
	public	__bb_SpriteSet_FrameFromBuffer
	public	__bb_SpriteSet_Init
	public	__bb_SpriteSet_InitEmpty
	public	__bb_SpriteSet_LoadSprites
	public	__bb_SpriteSet_New
	public	__bb_SpriteSet_frame_load
	public	__bb_SpriteState_CreateState
	public	__bb_SpriteState_Delete
	public	__bb_SpriteState_New
	public	__bb_SpriteState_spriteedit_load_all_you_see
	public	__bb_SpriteState_spriteedit_load_what_you_see
	public	__bb_SpriteType_Delete
	public	__bb_SpriteType_New
	public	__bb_TSFX_Delete
	public	__bb_TSFX_LoadSoundFX
	public	__bb_TSFX_New
	public	__bb_TSong_Delete
	public	__bb_TSong_LoadSong
	public	__bb_TSong_New
	public	__bb_TSong_getsongname
	public	__bb_TileAnimState_Delete
	public	__bb_TileAnimState_New
	public	__bb_TileMap_Delete
	public	__bb_TileMap_New
	public	__bb_TilesetData_Delete
	public	__bb_TilesetData_LoadTileset
	public	__bb_TilesetData_New
	public	__bb_TilsetState_Delete
	public	__bb_TilsetState_Loadsets
	public	__bb_TilsetState_New
	public	__bb_XYPair_Delete
	public	__bb_XYPair_New
	public	__bb_ZoneInfo_Delete
	public	__bb_ZoneInfo_New
	public	__bb_ZoneMap_Delete
	public	__bb_ZoneMap_New
	public	__bb_main
	public	_bb_ARGB
	public	_bb_AttackState
	public	_bb_BackdropData
	public	_bb_BackdropSet
	public	_bb_BackdropState
	public	_bb_BoxState
	public	_bb_DefPalette
	public	_bb_Door
	public	_bb_DoorLink
	public	_bb_EID
	public	_bb_EditorWindow
	public	_bb_FileLump
	public	_bb_Frame
	public	_bb_Game
	public	_bb_GamePath
	public	_bb_Gen
	public	_bb_HeroState
	public	_bb_IntToRGBA
	public	_bb_LargeEnemyState
	public	_bb_Lump
	public	_bb_LumpIndex
	public	_bb_LumpUnion
	public	_bb_LumpedLump
	public	_bb_Lumptype
	public	_bb_MainED
	public	_bb_MainEditor
	public	_bb_MapeditState
	public	_bb_Maps
	public	_bb_MaptilesSelector
	public	_bb_MasterPalette
	public	_bb_MediumEnemyState
	public	_bb_MouseInfo
	public	_bb_MusicState
	public	_bb_NPCInst
	public	_bb_NPCType
	public	_bb_Palette256
	public	_bb_Palette256_new_from_buffer
	public	_bb_PortraitState
	public	_bb_RGB
	public	_bb_RGBP
	public	_bb_RPGLump
	public	_bb_RPGXML
	public	_bb_SFXState
	public	_bb_SmallEnemyState
	public	_bb_SongState
	public	_bb_SoundState
	public	_bb_SpriteEditor
	public	_bb_SpriteSelector
	public	_bb_SpriteSet
	public	_bb_SpriteState
	public	_bb_SpriteType
	public	_bb_TSFX
	public	_bb_TSong
	public	_bb_TileAnimState
	public	_bb_TileMap
	public	_bb_TileSState
	public	_bb_TilesetData
	public	_bb_TilsetState
	public	_bb_WalkaboutState
	public	_bb_WeaponState
	public	_bb_XYPair
	public	_bb_ZoneInfo
	public	_bb_ZoneMap
	public	_bb_changepal
	public	_bb_getpal16
	public	_bb_loaddefaultpals
	public	_bb_loadmxs
	public	_bb_loadpalette
	public	_bb_loadset
	public	_bb_proc
	public	_bb_version
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	cmp	dword [_2138],0
	je	_2139
	mov	eax,0
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_2139:
	mov	dword [_2138],1
	mov	dword [ebp-4],0
	mov	eax,ebp
	push	eax
	push	_1883
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	___bb_blitz_blitz
	call	___bb_drivers_drivers
	call	___bb_base64_base64
	call	___bb_appstub_appstub
	call	___bb_audio_audio
	call	___bb_basic_basic
	call	___bb_bmploader_bmploader
	call	___bb_d3d7max2d_d3d7max2d
	call	___bb_d3d9max2d_d3d9max2d
	call	___bb_data_data
	call	___bb_directsoundaudio_directsoundaudio
	call	___bb_eventqueue_eventqueue
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_freetypefont_freetypefont
	call	___bb_gnet_gnet
	call	___bb_jpgloader_jpgloader
	call	___bb_maxlua_maxlua
	call	___bb_maxutil_maxutil
	call	___bb_oggloader_oggloader
	call	___bb_openalaudio_openalaudio
	call	___bb_pngloader_pngloader
	call	___bb_retro_retro
	call	___bb_tgaloader_tgaloader
	call	___bb_threads_threads
	call	___bb_timer_timer
	call	___bb_wavloader_wavloader
	call	___bb_freejoy_freejoy
	call	___bb_freeprocess_freeprocess
	call	___bb_glew_glew
	call	___bb_macos_macos
	call	___bb_maxml_maxml
	push	_bb_Lumptype
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_LumpedLump
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_FileLump
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Lump
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_LumpUnion
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_LumpIndex
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_SpriteType
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_RGBP
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Palette256
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_XYPair
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_NPCType
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_NPCInst
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_MapeditState
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_TileMap
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_ZoneMap
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_ZoneInfo
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Door
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_DoorLink
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_MouseInfo
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Frame
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_SpriteSet
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_TileAnimState
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_TilesetData
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_TilsetState
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_SoundState
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_TSFX
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_TSong
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_SongState
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_BackdropState
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_BackdropData
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_EditorWindow
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_MainEditor
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_MaptilesSelector
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_SpriteEditor
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_RPGXML
	call	_bbObjectRegisterType
	add	esp,4
	push	_1795
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1797
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1798
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1799
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1800
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1801
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1802
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1803
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1804
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1805
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1806
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1807
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1808
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1809
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1810
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1811
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1812
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_1814]
	and	eax,1
	cmp	eax,0
	jne	_1815
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_Maps],eax
	or	dword [_1814],1
_1815:
	push	_1816
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1817
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1818
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_1814]
	and	eax,2
	cmp	eax,0
	jne	_1821
	push	256
	push	_1819
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_MasterPalette],eax
	or	dword [_1814],2
_1821:
	push	_1822
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_1814]
	and	eax,4
	cmp	eax,0
	jne	_1825
	push	256
	push	_1823
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_DefPalette],eax
	or	dword [_1814],4
_1825:
	push	_1826
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_1828
	call	_brl_blitz_ArrayBoundsError
_1828:
	mov	esi,dword [_bb_MasterPalette]
	shl	ebx,2
	add	esi,ebx
	push	_bb_Palette256
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_1833
	push	eax
	call	_bbGCFree
	add	esp,4
_1833:
	mov	dword [esi+24],ebx
	push	_1834
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_1836
	call	_brl_blitz_ArrayBoundsError
_1836:
	mov	eax,dword [_bb_MasterPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_1838
	call	_brl_blitz_NullObjectError
_1838:
	mov	esi,dword [ebx+12]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_1841
	call	_brl_blitz_ArrayBoundsError
_1841:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],0
	push	_1843
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-4],0
	mov	dword [ebp-4],1
	jmp	_1845
_392:
	mov	eax,ebp
	push	eax
	push	_1855
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1846
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_1848
	call	_brl_blitz_ArrayBoundsError
_1848:
	mov	eax,dword [_bb_MasterPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_1850
	call	_brl_blitz_NullObjectError
_1850:
	mov	ebx,dword [ebx+12]
	mov	esi,dword [ebp-4]
	cmp	esi,dword [ebx+20]
	jb	_1853
	call	_brl_blitz_ArrayBoundsError
_1853:
	shl	esi,2
	add	ebx,esi
	push	255
	push	0
	call	_brl_random_Rand
	add	esp,8
	push	eax
	push	255
	push	0
	call	_brl_random_Rand
	add	esp,8
	push	eax
	push	255
	push	0
	call	_brl_random_Rand
	add	esp,8
	push	eax
	push	255
	call	_bb_ARGB
	add	esp,16
	mov	dword [ebx+24],eax
	call	dword [_bbOnDebugLeaveScope]
_390:
	add	dword [ebp-4],1
_1845:
	cmp	dword [ebp-4],15
	jle	_392
_391:
	push	_1856
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_1814]
	and	eax,8
	cmp	eax,0
	jne	_1859
	push	360
	push	_1857
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	dword [_bb_Gen],eax
	or	dword [_1814],8
_1859:
	push	_1860
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1861
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1863
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_version]
	push	_798
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bbAppTitle]
	dec	dword [eax+4]
	jnz	_1867
	push	eax
	call	_bbGCFree
	add	esp,4
_1867:
	mov	dword [_bbAppTitle],ebx
	push	_1868
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_MainEditor
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_MainED]
	dec	dword [eax+4]
	jnz	_1872
	push	eax
	call	_bbGCFree
	add	esp,4
_1872:
	mov	dword [_bb_MainED],ebx
	push	_1873
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainED]
	cmp	ebx,_bbNullObject
	jne	_1875
	call	_brl_blitz_NullObjectError
_1875:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	push	_1876
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
_801:
_799:
	mov	eax,ebp
	push	eax
	push	_1882
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1877
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_WaitEvent
	push	_1878
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventID
	mov	dword [_bb_EID],eax
	push	_1879
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainED]
	cmp	ebx,_bbNullObject
	jne	_1881
	call	_brl_blitz_NullObjectError
_1881:
	push	dword [_bb_EID]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_801
__bb_Lumptype_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2141
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Lumptype
	push	ebp
	push	_2140
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1248
_1248:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Lumptype_Delete:
	push	ebp
	mov	ebp,esp
_1251:
	mov	eax,0
	jmp	_2143
_2143:
	mov	esp,ebp
	pop	ebp
	ret
__bb_LumpedLump_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2150
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_LumpedLump
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	push	ebp
	push	_2149
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1254
_1254:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_LumpedLump_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1257:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2153
	push	eax
	call	_bbGCFree
	add	esp,4
_2153:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2155
	push	eax
	call	_bbGCFree
	add	esp,4
_2155:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_2157
	push	eax
	call	_bbGCFree
	add	esp,4
_2157:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2159
	push	eax
	call	_bbGCFree
	add	esp,4
_2159:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2161
	push	eax
	call	_bbGCFree
	add	esp,4
_2161:
	mov	eax,0
	jmp	_2151
_2151:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2169
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_FileLump
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],1
	push	ebp
	push	_2168
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1260
_1260:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1263:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_2172
	push	eax
	call	_bbGCFree
	add	esp,4
_2172:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2174
	push	eax
	call	_bbGCFree
	add	esp,4
_2174:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2176
	push	eax
	call	_bbGCFree
	add	esp,4
_2176:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_2178
	push	eax
	call	_bbGCFree
	add	esp,4
_2178:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2180
	push	eax
	call	_bbGCFree
	add	esp,4
_2180:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2182
	push	eax
	call	_bbGCFree
	add	esp,4
_2182:
	mov	eax,0
	jmp	_2170
_2170:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_unlump:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_2187
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2183
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2186
	call	_brl_blitz_NullObjectError
_2186:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	mov	ebx,0
	jmp	_1267
_1267:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_LoadGeneralData:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2195
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2189
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2191
	call	_brl_blitz_NullObjectError
_2191:
	push	_1
	push	dword [_bb_Gen]
	push	_28
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,16
	push	_2192
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2194
	call	_brl_blitz_NullObjectError
_2194:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	mov	ebx,0
	jmp	_1270
_1270:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_Upgrade:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2256
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2196
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,26
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2198
	call	_brl_blitz_ArrayBoundsError
_2198:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],40
	push	_2200
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,27
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2202
	call	_brl_blitz_ArrayBoundsError
_2202:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],149
	push	_2204
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,28
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2206
	call	_brl_blitz_ArrayBoundsError
_2206:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],79
	push	_2208
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,29
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2210
	call	_brl_blitz_ArrayBoundsError
_2210:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],29
	push	_2212
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,30
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2214
	call	_brl_blitz_ArrayBoundsError
_2214:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],119
	push	_2216
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,31
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2218
	call	_brl_blitz_ArrayBoundsError
_2218:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],149
	push	_2220
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,32
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2222
	call	_brl_blitz_ArrayBoundsError
_2222:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],99
	push	_2224
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,33
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2226
	call	_brl_blitz_ArrayBoundsError
_2226:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],14
	push	_2228
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,34
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2230
	call	_brl_blitz_ArrayBoundsError
_2230:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],200
	push	_2232
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,35
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2234
	call	_brl_blitz_ArrayBoundsError
_2234:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],59
	push	_2236
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,36
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2238
	call	_brl_blitz_ArrayBoundsError
_2238:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],500
	push	_2240
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,37
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2242
	call	_brl_blitz_ArrayBoundsError
_2242:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],1000
	push	_2244
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,38
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2246
	call	_brl_blitz_ArrayBoundsError
_2246:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],99
	push	_2248
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,39
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2250
	call	_brl_blitz_ArrayBoundsError
_2250:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],999
	push	_2252
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,84
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_2254
	call	_brl_blitz_ArrayBoundsError
_2254:
	mov	eax,dword [_bb_Gen]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],84
	mov	ebx,0
	jmp	_1273
_1273:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_UpgradeSongs:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2257
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_1276
_1276:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_LoadRecord:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-24],eax
	movzx	eax,byte [ebp+28]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	dword [ebp-28],_bbNullObject
	mov	dword [ebp-32],0
	push	ebp
	push	_2287
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2258
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],_bbNullObject
	push	_2260
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	push	_2262
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],0
	jg	_2263
	push	ebp
	push	_2265
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2264
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1284
_2263:
	push	_2266
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,1
	jne	_2267
	push	ebp
	push	_2281
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2268
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	jne	_2269
	push	ebp
	push	_2271
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2270
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	push	_30
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_29
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2269:
	push	_2272
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	mov	esi,dword [ebp-20]
	sub	esi,1
	jmp	_2273
_33:
	push	ebp
	push	_2279
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2275
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2277
	call	_brl_blitz_ArrayBoundsError
_2277:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],0
	call	dword [_bbOnDebugLeaveScope]
_31:
	add	dword [ebp-32],1
_2273:
	cmp	dword [ebp-32],esi
	jle	_33
_32:
	push	_2280
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1284
_2267:
	push	_2282
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-28],eax
	push	_2283
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2285
	call	_brl_blitz_NullObjectError
_2285:
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-28]
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,20
	mov	ebx,eax
	jmp	_1284
_1284:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_LoadRecordStream:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-24],eax
	movzx	eax,byte [ebp+28]
	mov	eax,eax
	mov	byte [ebp-4],al
	mov	dword [ebp-28],0
	push	ebp
	push	_2320
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2295
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_2297
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],0
	jg	_2298
	push	ebp
	push	_2300
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2299
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1292
_2298:
	push	_2301
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	jne	_2302
	push	ebp
	push	_2316
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2303
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	jne	_2304
	push	ebp
	push	_2306
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2305
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_29
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2304:
	push	_2307
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	esi,dword [ebp-20]
	sub	esi,1
	jmp	_2308
_36:
	push	ebp
	push	_2314
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2310
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2312
	call	_brl_blitz_ArrayBoundsError
_2312:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],0
	call	dword [_bbOnDebugLeaveScope]
_34:
	add	dword [ebp-28],1
_2308:
	cmp	dword [ebp-28],esi
	jle	_36
_35:
	push	_2315
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1292
_2302:
	push	_2317
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_2319
	call	_brl_blitz_NullObjectError
_2319:
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-16]
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,20
	mov	ebx,eax
	jmp	_1292
_1292:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_loadrecords:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-24],eax
	mov	dword [ebp-28],0
	mov	dword [ebp-32],_bbEmptyArray
	mov	byte [ebp-4],0
	mov	dword [ebp-36],0
	mov	eax,ebp
	push	eax
	push	_2367
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2321
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_2323
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],0
	jg	_2324
	mov	eax,ebp
	push	eax
	push	_2326
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2325
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1299
_2324:
	push	_2327
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	sub	eax,1
	cmp	dword [edx+20],eax
	jge	_2328
	mov	eax,ebp
	push	eax
	push	_2330
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2329
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_39
	mov	eax,dword [ebp-12]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_38
	push	dword [ebp-20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_37
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2328:
	push	_2331
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	push	_2332
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-32],eax
	push	_2334
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-24],-1
	je	_2335
	mov	eax,ebp
	push	eax
	push	_2337
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2336
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-20]
	shl	eax,1
	imul	eax,dword [ebp-24]
	push	eax
	push	dword [ebp-16]
	call	_brl_stream_SeekStream
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2335:
	push	_2338
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-4],1
	push	_2340
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_brl_stream_StreamPos
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-20]
	shl	eax,1
	add	ebx,eax
	push	dword [ebp-16]
	call	_brl_stream_StreamSize
	add	esp,4
	add	eax,1
	cmp	ebx,eax
	jle	_2341
	mov	eax,ebp
	push	eax
	push	_2343
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2342
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-4],0
	call	dword [_bbOnDebugLeaveScope]
_2341:
	push	_2344
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	mov	dword [ebp-36],0
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	esi,eax
	jmp	_2346
_42:
	mov	eax,ebp
	push	eax
	push	_2355
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2348
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	jne	_2349
	mov	eax,ebp
	push	eax
	push	_2354
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2350
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	mov	eax,dword [ebp-32]
	cmp	ebx,dword [eax+20]
	jb	_2352
	call	_brl_blitz_ArrayBoundsError
_2352:
	mov	eax,dword [ebp-32]
	shl	ebx,1
	add	eax,ebx
	mov	ebx,eax
	push	dword [ebp-16]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebx+24],ax
	call	dword [_bbOnDebugLeaveScope]
_2349:
	call	dword [_bbOnDebugLeaveScope]
_40:
	add	dword [ebp-36],1
_2346:
	cmp	dword [ebp-36],esi
	jle	_42
_41:
	push	_2356
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-32]
	push	dword [eax+20]
	mov	eax,dword [ebp-12]
	push	dword [eax+20]
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,8
	sub	eax,1
	mov	edi,eax
	jmp	_2357
_45:
	mov	eax,ebp
	push	eax
	push	_2365
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2359
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2361
	call	_brl_blitz_ArrayBoundsError
_2361:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	mov	ebx,dword [ebp-28]
	mov	eax,dword [ebp-32]
	cmp	ebx,dword [eax+20]
	jb	_2364
	call	_brl_blitz_ArrayBoundsError
_2364:
	mov	eax,dword [ebp-32]
	movzx	eax,word [eax+ebx*2+24]
	mov	eax,eax
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
_43:
	add	dword [ebp-28],1
_2357:
	cmp	dword [ebp-28],edi
	jle	_45
_44:
	push	_2366
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	ebx,eax
	jmp	_1299
_1299:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_xbload:
	push	ebp
	mov	ebp,esp
	sub	esp,48
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-32],eax
	mov	dword [ebp-36],_bbNullObject
	mov	byte [ebp-4],0
	mov	word [ebp-8],0
	mov	word [ebp-12],0
	mov	word [ebp-16],0
	mov	dword [ebp-40],0
	mov	dword [ebp-44],0
	mov	dword [ebp-48],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_2433
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2372
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_2373
	mov	eax,ebp
	push	eax
	push	_2424
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2374
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],_bbNullObject
	mov	byte [ebp-4],0
	mov	word [ebp-8],0
	mov	word [ebp-12],0
	mov	word [ebp-16],0
	push	_2380
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	push	_2382
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	push	_2384
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-36],eax
	push	_2385
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-36],_bbNullObject
	jne	_2386
	mov	eax,ebp
	push	eax
	push	_2389
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2387
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_46
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2388
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1305
_2386:
	push	_2390
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_2391
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_47
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2392
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,253
	je	_2393
	mov	eax,ebp
	push	eax
	push	_2397
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2394
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_2395
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_48
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2396
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1305
_2393:
	push	_2398
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-8],ax
	push	_2399
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-12],ax
	push	_2400
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-16],ax
	push	_2401
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,word [ebp-16]
	mov	eax,eax
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	eax,1
	mov	dword [ebp-40],eax
	push	_2402
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-40]
	sub	eax,1
	push	eax
	push	_2403
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-48],eax
	push	_2405
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	mov	eax,dword [ebp-48]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	esi,eax
	jmp	_2406
_51:
	mov	eax,ebp
	push	eax
	push	_2412
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2408
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	mov	eax,dword [ebp-48]
	cmp	ebx,dword [eax+20]
	jb	_2410
	call	_brl_blitz_ArrayBoundsError
_2410:
	mov	eax,dword [ebp-48]
	shl	ebx,1
	add	eax,ebx
	mov	ebx,eax
	push	dword [ebp-36]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebx+24],ax
	call	dword [_bbOnDebugLeaveScope]
_49:
	add	dword [ebp-44],1
_2406:
	cmp	dword [ebp-44],esi
	jle	_51
_50:
	push	_2413
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_2414
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	mov	eax,dword [ebp-28]
	push	dword [eax+20]
	push	dword [ebp-40]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,8
	sub	eax,1
	mov	edi,eax
	jmp	_2415
_54:
	mov	eax,ebp
	push	eax
	push	_2423
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2417
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	mov	eax,dword [ebp-28]
	cmp	ebx,dword [eax+20]
	jb	_2419
	call	_brl_blitz_ArrayBoundsError
_2419:
	mov	eax,dword [ebp-28]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	mov	ebx,dword [ebp-44]
	mov	eax,dword [ebp-48]
	cmp	ebx,dword [eax+20]
	jb	_2422
	call	_brl_blitz_ArrayBoundsError
_2422:
	mov	eax,dword [ebp-48]
	movzx	eax,word [eax+ebx*2+24]
	mov	eax,eax
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
_52:
	add	dword [ebp-44],1
_2415:
	cmp	dword [ebp-44],edi
	jle	_54
_53:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2430
_2373:
	mov	eax,ebp
	push	eax
	push	_2432
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2431
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_55
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2430:
	mov	ebx,0
	jmp	_1305
_1305:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_unlumpfile:
	push	ebp
	mov	ebp,esp
	sub	esp,64
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbNullObject
	mov	byte [ebp-4],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],_bbEmptyString
	mov	dword [ebp-36],0
	mov	dword [ebp-40],_bbNullObject
	mov	dword [ebp-44],0
	mov	dword [ebp-48],_bbEmptyString
	mov	dword [ebp-52],_bbEmptyString
	mov	byte [ebp-8],0
	mov	dword [ebp-56],_bbNullObject
	mov	dword [ebp-60],_bbNullObject
	mov	dword [ebp-64],0
	push	ebp
	push	_2591
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2436
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	push	_2438
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-4],0
	push	_2440
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	push	_2442
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_2444
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],_bbEmptyString
	push	_2446
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	push	_2448
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],_bbNullObject
	push	_2450
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	push	_2452
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2454
	call	_brl_blitz_NullObjectError
_2454:
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_2456
	call	_brl_blitz_NullObjectError
_2456:
	push	_1
	push	dword [esi+40]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	dword [ebx+40]
	call	_brl_retro_Replace
	add	esp,12
	mov	dword [ebp-48],eax
	push	_2458
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-52],_1
	push	_2460
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-8],1
	push	_2462
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2464
	call	_brl_blitz_NullObjectError
_2464:
	push	dword [ebx+40]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	je	_2465
	push	ebp
	push	_2470
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2466
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2468
	call	_brl_blitz_NullObjectError
_2468:
	push	_57
	push	dword [ebx+40]
	push	_56
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2469
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1309
_2465:
	push	_2471
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2473
	call	_brl_blitz_NullObjectError
_2473:
	push	dword [ebx+40]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-20],eax
	push	_2474
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_StreamSize
	add	esp,4
	mov	dword [ebp-28],eax
	push	_2475
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_58
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2476
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	16384
	call	_brl_bank_CreateBank
	add	esp,4
	mov	dword [ebp-40],eax
	push	_2477
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-40],_bbNullObject
	jne	_2478
	push	ebp
	push	_2481
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2479
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_2480
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1309
_2478:
	push	_2482
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_2483
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_59
_61:
	push	ebp
	push	_2584
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2484
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],_1
	push	_2485
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	push	_2486
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_62
_64:
	push	ebp
	push	_2494
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2491
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	push	eax
	call	_bbStringFromChar
	add	esp,4
	push	eax
	push	dword [ebp-32]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-32],eax
	push	_2492
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_2493
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-36],1
	call	dword [_bbOnDebugLeaveScope]
_62:
	push	dword [ebp-20]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_2487
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	setne	al
	movzx	eax,al
_2487:
	cmp	eax,0
	je	_2489
	mov	eax,dword [ebp-36]
	cmp	eax,64
	setl	al
	movzx	eax,al
_2489:
	cmp	eax,0
	jne	_64
_63:
	push	_2495
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-36],50
	jle	_2496
	push	ebp
	push	_2501
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2497
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2499
	call	_brl_blitz_NullObjectError
_2499:
	push	_67
	push	dword [ebp-32]
	push	_66
	push	dword [ebx+40]
	push	_65
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2500
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_60
_2496:
	push	_2502
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-32]
	call	_brl_retro_Lower
	add	esp,4
	mov	dword [ebp-32],eax
	push	_2503
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-32]
	push	_68
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2504
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	jne	_2505
	push	ebp
	push	_2583
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2506
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_2507
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	shl	eax,16
	mov	dword [ebp-24],eax
	push	_2508
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_2509
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	shl	eax,24
	or	dword [ebp-24],eax
	push	_2510
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_2511
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	or	dword [ebp-24],eax
	push	_2512
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_2513
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	shl	eax,8
	or	dword [ebp-24],eax
	push	_2514
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-28]
	cmp	dword [ebp-24],eax
	jle	_2515
	push	ebp
	push	_2523
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2516
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2518
	call	_brl_blitz_NullObjectError
_2518:
	push	dword [ebp-28]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_70
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_69
	push	dword [ebx+40]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2519
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2521
	call	_brl_blitz_NullObjectError
_2521:
	push	0
	push	dword [ebp-28]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_70
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_69
	push	dword [ebx+40]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_system_Notify
	add	esp,8
	push	_2522
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_60
_2515:
	push	ebp
	push	_2526
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2525
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_71
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2524:
	push	_2527
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-8],1
	push	_2528
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-52]
	call	_brl_retro_Lower
	add	esp,4
	push	eax
	push	dword [ebp-32]
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax]
	call	dword [eax+124]
	add	esp,8
	cmp	eax,1
	jne	_2529
	push	ebp
	push	_2564
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2530
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-56],_bbNullObject
	push	_2532
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-60],_bbNullObject
	push	_2534
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-32]
	push	dword [ebp-48]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_2535
	push	ebp
	push	_2537
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2536
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_72
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2535:
	push	_2538
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-32]
	push	dword [ebp-48]
	push	_73
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2539
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_2540
	push	ebp
	push	_2543
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2541
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-32]
	push	_74
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_2542
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_2540:
	push	_2544
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-32]
	push	dword [ebp-48]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-56],eax
	push	_2545
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-56],_bbNullObject
	jne	_2546
	push	ebp
	push	_2550
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2547
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2549
	call	_brl_blitz_NullObjectError
_2549:
	push	_78
	push	dword [ebp-32]
	push	dword [ebp-48]
	push	_77
	push	dword [ebp-52]
	push	_76
	push	dword [ebx+40]
	push	_75
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2551
_2546:
	push	ebp
	push	_2559
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2552
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-8],0
	push	_2553
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_79
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2554
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_80
_82:
	push	ebp
	push	_2557
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2555
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	4096
	push	dword [ebp-24]
	push	dword [ebp-56]
	push	dword [ebp-20]
	call	_brl_stream_CopyBytes
	add	esp,16
	push	_2556
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-24]
	sub	dword [ebp-24],eax
	call	dword [_bbOnDebugLeaveScope]
_80:
	cmp	dword [ebp-24],0
	jg	_82
_81:
	push	_2558
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-56]
	call	_brl_filesystem_CloseFile
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2551:
	push	_2560
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-44],1
	jne	_2561
	push	ebp
	push	_2563
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2562
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_60
_2561:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2568
_2529:
	push	ebp
	push	_2569
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2568:
	push	_2570
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-8]
	mov	eax,eax
	cmp	eax,1
	jne	_2571
	push	ebp
	push	_2577
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2572
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-64],0
	push	_2574
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_StreamPos
	add	esp,4
	add	eax,dword [ebp-24]
	mov	dword [ebp-64],eax
	push	_2575
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-64]
	push	dword [ebp-20]
	call	_brl_stream_SeekStream
	add	esp,8
	push	_2576
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_83
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2571:
	push	_2579
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	jne	_2580
	push	ebp
	push	_2582
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2581
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	call	dword [_bbOnDebugLeaveScope]
_2580:
	call	dword [_bbOnDebugLeaveScope]
_2505:
	call	dword [_bbOnDebugLeaveScope]
_59:
	push	dword [ebp-20]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	je	_61
_60:
	push	_2585
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_2586
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_2587
	push	ebp
	push	_2590
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2588
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_84
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_2589
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_2587:
	mov	ebx,0
	jmp	_1309
_1309:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_defbinsize:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2655
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2602
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],0
	jne	_2603
	push	ebp
	push	_2605
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2604
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2603:
	push	_2606
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],1
	jne	_2607
	push	ebp
	push	_2609
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2608
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,64
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2607:
	push	_2610
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],2
	jne	_2611
	push	ebp
	push	_2613
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2612
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2611:
	push	_2614
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],3
	jne	_2615
	push	ebp
	push	_2617
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2616
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2615:
	push	_2618
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],4
	jne	_2619
	push	ebp
	push	_2621
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2620
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,40
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2619:
	push	_2622
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],5
	jne	_2623
	push	ebp
	push	_2625
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2624
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2623:
	push	_2626
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],6
	jne	_2627
	push	ebp
	push	_2629
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2628
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2627:
	push	_2630
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],7
	jne	_2631
	push	ebp
	push	_2633
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2632
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2631:
	push	_2634
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],8
	jne	_2635
	push	ebp
	push	_2637
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2636
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,400
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2635:
	push	_2638
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],9
	jne	_2639
	push	ebp
	push	_2641
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2640
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,30
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2639:
	push	_2642
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],10
	jne	_2643
	push	ebp
	push	_2645
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2644
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,636
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2643:
	push	_2646
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],11
	jne	_2647
	push	ebp
	push	_2649
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2648
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,320
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2647:
	push	_2650
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],12
	jne	_2651
	push	ebp
	push	_2653
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2652
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,200
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1312
_2651:
	push	_2654
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	jmp	_1312
_1312:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_curbinsize:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2709
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2656
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],0
	jne	_2657
	push	ebp
	push	_2659
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2658
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,560
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2657:
	push	_2660
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],1
	jne	_2661
	push	ebp
	push	_2663
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2662
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,84
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2661:
	push	_2664
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],2
	jne	_2665
	push	ebp
	push	_2667
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2666
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,32
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2665:
	push	_2668
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],3
	jne	_2669
	push	ebp
	push	_2671
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2670
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,34
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2669:
	push	_2672
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],4
	jne	_2673
	push	ebp
	push	_2675
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2674
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,404
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2673:
	push	_2676
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],5
	jne	_2677
	push	ebp
	push	_2679
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2678
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,54
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2677:
	push	_2680
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],6
	jne	_2681
	push	ebp
	push	_2683
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2682
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,64
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2681:
	push	_2684
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],7
	jne	_2685
	push	ebp
	push	_2687
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2686
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,126
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2685:
	push	_2688
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],8
	jne	_2689
	push	ebp
	push	_2691
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2690
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,412
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2689:
	push	_2692
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],9
	jne	_2693
	push	ebp
	push	_2695
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2694
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,34
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2693:
	push	_2696
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],10
	jne	_2697
	push	ebp
	push	_2699
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2698
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,858
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2697:
	push	_2700
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],11
	jne	_2701
	push	ebp
	push	_2703
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2702
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,736
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2701:
	push	_2704
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],12
	jne	_2705
	push	ebp
	push	_2707
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2706
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,422
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1315
_2705:
	push	_2708
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	jmp	_1315
_1315:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_getbinsize:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	word [ebp-4],0
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],0
	push	ebp
	push	_2738
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2710
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_85
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_2711
	push	ebp
	push	_2729
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2712
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	word [ebp-4],0
	push	_2714
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	push	_2716
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_85
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-12],eax
	push	_2717
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_stream_StreamSize
	add	esp,4
	mov	edx,dword [ebp-8]
	shl	edx,1
	add	edx,2
	cmp	eax,edx
	jge	_2718
	push	ebp
	push	_2721
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2719
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	dword [_bb_FileLump+84]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_86
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2720
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	dword [_bb_FileLump+84]
	add	esp,4
	mov	ebx,eax
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1318
_2718:
	push	ebp
	push	_2725
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2723
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	shl	eax,1
	push	eax
	push	dword [ebp-12]
	call	_brl_stream_SeekStream
	add	esp,8
	push	_2724
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-4],ax
	call	dword [_bbOnDebugLeaveScope]
_2722:
	push	_2726
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_2727
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,word [ebp-4]
	mov	eax,eax
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_87
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2728
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,word [ebp-4]
	mov	ebx,eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1318
_2711:
	push	ebp
	push	_2736
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2732
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	dword [_bb_FileLump+84]
	add	esp,4
	mov	dword [ebp-16],eax
	push	_2734
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_89
	push	_85
	push	dword [_bb_GamePath]
	push	_88
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_2735
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1318
_1318:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_dimbinsize:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2740
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2739
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-4]
	call	dword [_bb_FileLump+92]
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
	jmp	_1321
_1321:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_maplumpname:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_2748
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2741
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],100
	jge	_2742
	push	ebp
	push	_2744
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2743
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	dword [ebp-4]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_91
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Right
	add	esp,8
	push	eax
	push	dword [ebp-8]
	push	_90
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1325
_2742:
	push	ebp
	push	_2747
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2746
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	_90
	push	dword [ebp-4]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1325
_1325:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_Large:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_2758
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2750
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	dword [ebp-4],eax
	jle	_2751
	push	ebp
	push	_2753
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2752
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1329
_2751:
	push	ebp
	push	_2756
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2755
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1329
_1329:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_Small:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_2768
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2760
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	dword [ebp-4],eax
	jge	_2761
	push	ebp
	push	_2763
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2762
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1333
_2761:
	push	ebp
	push	_2766
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2765
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1333
_1333:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_boundInt:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	push	ebp
	push	_2778
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2769
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	dword [ebp-4],eax
	jge	_2770
	push	ebp
	push	_2772
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2771
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1338
_2770:
	push	_2773
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	cmp	dword [ebp-4],eax
	jle	_2774
	push	ebp
	push	_2776
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2775
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1338
_2774:
	push	_2777
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	jmp	_1338
_1338:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_boundShort:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	movzx	eax,word [ebp+8]
	mov	eax,eax
	mov	word [ebp-4],ax
	movzx	eax,word [ebp+12]
	mov	eax,eax
	mov	word [ebp-8],ax
	movzx	eax,word [ebp+16]
	mov	eax,eax
	mov	word [ebp-12],ax
	push	ebp
	push	_2790
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2781
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,word [ebp-4]
	mov	edx,eax
	movzx	eax,word [ebp-8]
	mov	eax,eax
	cmp	edx,eax
	jge	_2782
	push	ebp
	push	_2784
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2783
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,word [ebp-8]
	mov	eax,eax
	mov	word [ebp-16],ax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1343
_2782:
	push	_2785
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,word [ebp-4]
	mov	edx,eax
	movzx	eax,word [ebp-12]
	mov	eax,eax
	cmp	edx,eax
	jle	_2786
	push	ebp
	push	_2788
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2787
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,word [ebp-12]
	mov	eax,eax
	mov	word [ebp-16],ax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1343
_2786:
	push	_2789
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,word [ebp-4]
	mov	eax,eax
	mov	word [ebp-16],ax
	jmp	_1343
_1343:
	call	dword [_bbOnDebugLeaveScope]
	movzx	eax,word [ebp-16]
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_array2str:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	dword [ebp-24],_bbEmptyArray
	mov	dword [ebp-28],0
	mov	dword [ebp-32],_bbEmptyString
	mov	eax,ebp
	push	eax
	push	_2832
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2791
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	push	_2793
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	push	_2795
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],_bbEmptyArray
	push	_2797
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_2799
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],_bbEmptyString
	push	_2801
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [ebp-24],eax
	push	_2802
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-20],eax
	push	_2803
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ecx,2
	mov	eax,dword [ebp-8]
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [ebp-28],eax
	push	_2804
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_2805
_94:
	mov	eax,ebp
	push	eax
	push	_2830
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2807
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-28],0
	jne	_2808
	mov	eax,ebp
	push	eax
	push	_2816
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2809
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2811
	call	_brl_blitz_ArrayBoundsError
_2811:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	mov	ebx,dword [ebp-20]
	mov	eax,dword [ebp-24]
	cmp	ebx,dword [eax+20]
	jb	_2814
	call	_brl_blitz_ArrayBoundsError
_2814:
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+ebx*4+24]
	and	eax,255
	mov	dword [esi+24],eax
	push	_2815
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2817
_2808:
	mov	eax,ebp
	push	eax
	push	_2826
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2818
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2820
	call	_brl_blitz_ArrayBoundsError
_2820:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	mov	ebx,dword [ebp-20]
	mov	eax,dword [ebp-24]
	cmp	ebx,dword [eax+20]
	jb	_2823
	call	_brl_blitz_ArrayBoundsError
_2823:
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+ebx*4+24]
	and	eax,65280
	shr	eax,8
	mov	dword [esi+24],eax
	push	_2824
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_2825
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-20],1
	call	dword [_bbOnDebugLeaveScope]
_2817:
	push	_2827
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2829
	call	_brl_blitz_ArrayBoundsError
_2829:
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_bbStringFromChar
	add	esp,4
	push	eax
	push	dword [ebp-32]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-32],eax
	call	dword [_bbOnDebugLeaveScope]
_92:
	add	dword [ebp-16],1
_2805:
	cmp	dword [ebp-16],edi
	jle	_94
_93:
	push	_2831
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	jmp	_1348
_1348:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_FileLump_matchmask:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	eax,ebp
	push	eax
	push	_2952
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2838
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	push	_2840
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	push	_2842
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	push	_2845
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_2847
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_2848
	mov	eax,ebp
	push	eax
	push	_2851
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2849
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],1
	push	_2850
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1352
_2848:
	push	_2852
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	push	_2853
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	push	_2854
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_95
_97:
	mov	eax,ebp
	push	eax
	push	_2880
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2862
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [ebp-36],eax
	mov	edi,dword [ebp-12]
	mov	eax,dword [ebp-36]
	cmp	edi,dword [eax+8]
	jb	_2865
	call	_brl_blitz_ArrayBoundsError
_2865:
	mov	esi,dword [ebp-8]
	mov	ebx,dword [ebp-16]
	cmp	ebx,dword [esi+8]
	jb	_2868
	call	_brl_blitz_ArrayBoundsError
_2868:
	mov	eax,dword [ebp-36]
	movzx	eax,word [eax+edi*2+12]
	mov	edx,eax
	movzx	eax,word [esi+ebx*2+12]
	mov	eax,eax
	cmp	edx,eax
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_2872
	mov	esi,dword [ebp-8]
	mov	ebx,dword [ebp-16]
	cmp	ebx,dword [esi+8]
	jb	_2871
	call	_brl_blitz_ArrayBoundsError
_2871:
	movzx	eax,word [esi+ebx*2+12]
	mov	eax,eax
	cmp	eax,63
	setne	al
	movzx	eax,al
_2872:
	cmp	eax,0
	je	_2874
	mov	eax,ebp
	push	eax
	push	_2877
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2875
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_2876
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1352
_2874:
	push	_2878
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-12],1
	push	_2879
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-16],1
	call	dword [_bbOnDebugLeaveScope]
_95:
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-4]
	cmp	edx,dword [eax+8]
	setl	al
	movzx	eax,al
	cmp	eax,0
	je	_2855
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-8]
	cmp	edx,dword [eax+8]
	setl	al
	movzx	eax,al
_2855:
	cmp	eax,0
	je	_2860
	mov	esi,dword [ebp-8]
	mov	ebx,dword [ebp-16]
	cmp	ebx,dword [esi+8]
	jb	_2859
	call	_brl_blitz_ArrayBoundsError
_2859:
	movzx	eax,word [esi+ebx*2+12]
	mov	eax,eax
	cmp	eax,42
	setne	al
	movzx	eax,al
_2860:
	cmp	eax,0
	jne	_97
_96:
	push	_2881
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-8]
	cmp	edx,dword [eax+8]
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_2882
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-4]
	cmp	edx,dword [eax+8]
	setl	al
	movzx	eax,al
_2882:
	cmp	eax,0
	je	_2884
	mov	eax,ebp
	push	eax
	push	_2887
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2885
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_2886
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1352
_2884:
	push	_2888
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_100
_102:
	mov	eax,ebp
	push	eax
	push	_2935
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2889
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	cmp	dword [ebp-16],eax
	jl	_2890
	mov	eax,ebp
	push	eax
	push	_2894
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2891
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-20]
	add	eax,1
	mov	dword [ebp-12],eax
	push	_2892
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	mov	dword [ebp-20],eax
	push	_2893
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-24]
	mov	dword [ebp-16],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2895
_2890:
	mov	eax,ebp
	push	eax
	push	_2934
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2896
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	mov	ebx,dword [ebp-16]
	cmp	ebx,dword [esi+8]
	jb	_2899
	call	_brl_blitz_ArrayBoundsError
_2899:
	movzx	eax,word [esi+ebx*2+12]
	mov	eax,eax
	cmp	eax,42
	jne	_2900
	mov	eax,ebp
	push	eax
	push	_2910
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2901
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-16],1
	push	_2902
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	cmp	dword [ebp-16],eax
	jl	_2903
	mov	eax,ebp
	push	eax
	push	_2906
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2904
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],1
	push	_2905
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1352
_2903:
	push	_2907
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-12],1
	push	_2908
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	mov	dword [ebp-24],eax
	push	_2909
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	mov	dword [ebp-20],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2911
_2900:
	mov	eax,ebp
	push	eax
	push	_2933
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2912
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	mov	dword [ebp-32],eax
	mov	edi,dword [ebp-16]
	mov	eax,dword [ebp-32]
	cmp	edi,dword [eax+8]
	jb	_2915
	call	_brl_blitz_ArrayBoundsError
_2915:
	mov	esi,dword [ebp-4]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+8]
	jb	_2918
	call	_brl_blitz_ArrayBoundsError
_2918:
	mov	eax,dword [ebp-32]
	movzx	eax,word [eax+edi*2+12]
	mov	edx,eax
	movzx	eax,word [esi+ebx*2+12]
	mov	eax,eax
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_2922
	mov	esi,dword [ebp-8]
	mov	ebx,dword [ebp-16]
	cmp	ebx,dword [esi+8]
	jb	_2921
	call	_brl_blitz_ArrayBoundsError
_2921:
	movzx	eax,word [esi+ebx*2+12]
	mov	eax,eax
	cmp	eax,63
	sete	al
	movzx	eax,al
_2922:
	cmp	eax,0
	je	_2924
	mov	eax,ebp
	push	eax
	push	_2927
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2925
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-16],1
	push	_2926
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-12],1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2928
_2924:
	mov	eax,ebp
	push	eax
	push	_2932
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2929
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-24]
	mov	dword [ebp-16],eax
	push	_2930
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-20]
	add	eax,1
	mov	dword [ebp-12],eax
	push	_2931
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	mov	dword [ebp-20],eax
	call	dword [_bbOnDebugLeaveScope]
_2928:
	call	dword [_bbOnDebugLeaveScope]
_2911:
	call	dword [_bbOnDebugLeaveScope]
_2895:
	call	dword [_bbOnDebugLeaveScope]
_100:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+8]
	cmp	dword [ebp-12],eax
	jl	_102
_101:
	push	_2936
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_103
_105:
	mov	eax,ebp
	push	eax
	push	_2943
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2942
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-16],1
	call	dword [_bbOnDebugLeaveScope]
_103:
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-8]
	cmp	edx,dword [eax+8]
	setl	al
	movzx	eax,al
	cmp	eax,0
	je	_2940
	mov	esi,dword [ebp-8]
	mov	ebx,dword [ebp-16]
	cmp	ebx,dword [esi+8]
	jb	_2939
	call	_brl_blitz_ArrayBoundsError
_2939:
	movzx	eax,word [esi+ebx*2+12]
	mov	eax,eax
	cmp	eax,42
	sete	al
	movzx	eax,al
_2940:
	cmp	eax,0
	jne	_105
_104:
	push	_2944
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+8]
	cmp	dword [ebp-16],eax
	jge	_2945
	mov	eax,ebp
	push	eax
	push	_2947
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2946
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2948
_2945:
	mov	eax,ebp
	push	eax
	push	_2950
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2949
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],1
	call	dword [_bbOnDebugLeaveScope]
_2948:
	push	_2951
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	jmp	_1352
_1352:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Lump_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2963
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Lump
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],0
	push	ebp
	push	_2962
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1355
_1355:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Lump_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1358:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_2966
	push	eax
	call	_bbGCFree
	add	esp,4
_2966:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2968
	push	eax
	call	_bbGCFree
	add	esp,4
_2968:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_2970
	push	eax
	call	_bbGCFree
	add	esp,4
_2970:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2972
	push	eax
	call	_bbGCFree
	add	esp,4
_2972:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2974
	push	eax
	call	_bbGCFree
	add	esp,4
_2974:
	mov	eax,0
	jmp	_2964
_2964:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_LumpUnion_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2979
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_LumpUnion
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	push	ebp
	push	_2978
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1361
_1361:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_LumpUnion_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1364:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2983
	push	eax
	call	_bbGCFree
	add	esp,4
_2983:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2985
	push	eax
	call	_bbGCFree
	add	esp,4
_2985:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2987
	push	eax
	call	_bbGCFree
	add	esp,4
_2987:
	mov	eax,0
	jmp	_2981
_2981:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_LumpIndex_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2992
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_LumpIndex
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	push	ebp
	push	_2991
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1367
_1367:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_LumpIndex_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1370:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_2995
	push	eax
	call	_bbGCFree
	add	esp,4
_2995:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2997
	push	eax
	call	_bbGCFree
	add	esp,4
_2997:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2999
	push	eax
	call	_bbGCFree
	add	esp,4
_2999:
	mov	eax,0
	jmp	_2993
_2993:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteType_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3001
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_SpriteType
	push	ebp
	push	_3000
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1373
_1373:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteType_Delete:
	push	ebp
	mov	ebp,esp
_1376:
	mov	eax,0
	jmp	_3003
_3003:
	mov	esp,ebp
	pop	ebp
	ret
__bb_RGBP_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3005
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_RGBP
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	push	ebp
	push	_3004
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1379
_1379:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_RGBP_Delete:
	push	ebp
	mov	ebp,esp
_1382:
	mov	eax,0
	jmp	_3007
_3007:
	mov	esp,ebp
	pop	ebp
	ret
__bb_Palette256_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3011
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Palette256
	mov	eax,dword [ebp-4]
	mov	byte [eax+8],0
	push	256
	push	_3008
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+12],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	push	ebp
	push	_3010
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1385
_1385:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Palette256_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1388:
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_3014
	push	eax
	call	_bbGCFree
	add	esp,4
_3014:
	mov	eax,0
	jmp	_3012
_3012:
	mov	esp,ebp
	pop	ebp
	ret
__bb_XYPair_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3016
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_XYPair
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],1
	push	ebp
	push	_3015
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1391
_1391:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_XYPair_Delete:
	push	ebp
	mov	ebp,esp
_1394:
	mov	eax,0
	jmp	_3017
_3017:
	mov	esp,ebp
	pop	ebp
	ret
__bb_NPCType_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3023
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_NPCType
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+64],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+68],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+72],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+76],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+80],edx
	push	18
	push	_3020
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+84],eax
	push	ebp
	push	_3022
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1397
_1397:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_NPCType_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1400:
	mov	eax,dword [ebx+84]
	dec	dword [eax+4]
	jnz	_3027
	push	eax
	call	_bbGCFree
	add	esp,4
_3027:
	mov	eax,dword [ebx+80]
	dec	dword [eax+4]
	jnz	_3029
	push	eax
	call	_bbGCFree
	add	esp,4
_3029:
	mov	eax,dword [ebx+76]
	dec	dword [eax+4]
	jnz	_3031
	push	eax
	call	_bbGCFree
	add	esp,4
_3031:
	mov	eax,0
	jmp	_3025
_3025:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_NPCInst_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3035
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_NPCInst
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	push	2
	push	_3032
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+40],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],0
	push	ebp
	push	_3034
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1403
_1403:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_NPCInst_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1406:
	mov	eax,dword [eax+40]
	dec	dword [eax+4]
	jnz	_3039
	push	eax
	call	_bbGCFree
	add	esp,4
_3039:
	mov	eax,0
	jmp	_3037
_3037:
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3057
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_MapeditState
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	push	100
	push	_3041
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+12],eax
	push	300
	push	_3043
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+16],eax
	push	500
	push	_3045
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+20],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],0
	push	200
	push	_3047
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+36],eax
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],edx
	push	7
	push	_3053
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+56],eax
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+64],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+68],0
	push	ebp
	push	_3056
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1409
_1409:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1412:
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_3061
	push	eax
	call	_bbGCFree
	add	esp,4
_3061:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_3063
	push	eax
	call	_bbGCFree
	add	esp,4
_3063:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_3065
	push	eax
	call	_bbGCFree
	add	esp,4
_3065:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_3067
	push	eax
	call	_bbGCFree
	add	esp,4
_3067:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_3069
	push	eax
	call	_bbGCFree
	add	esp,4
_3069:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_3071
	push	eax
	call	_bbGCFree
	add	esp,4
_3071:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_3073
	push	eax
	call	_bbGCFree
	add	esp,4
_3073:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_3075
	push	eax
	call	_bbGCFree
	add	esp,4
_3075:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3077
	push	eax
	call	_bbGCFree
	add	esp,4
_3077:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3079
	push	eax
	call	_bbGCFree
	add	esp,4
_3079:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3081
	push	eax
	call	_bbGCFree
	add	esp,4
_3081:
	mov	eax,0
	jmp	_3059
_3059:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_Loadmap:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_3200
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3082
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	4
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,4
	mov	dword [ebp-12],eax
	push	_3085
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_106
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3086
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	push	_3087
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-16],eax
	push	_3089
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3091
	call	_brl_blitz_NullObjectError
_3091:
	mov	ebx,dword [ebp-16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_3096
	push	eax
	call	_bbGCFree
	add	esp,4
_3096:
	mov	dword [esi+8],ebx
	push	_3097
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_RPGLump]
	cmp	esi,_bbNullObject
	jne	_3099
	call	_brl_blitz_NullObjectError
_3099:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3101
	call	_brl_blitz_NullObjectError
_3101:
	push	1
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	_107
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	push	eax
	push	dword [ebx+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,24
	push	_3102
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3104
	call	_brl_blitz_NullObjectError
_3104:
	mov	esi,dword [ebx+8]
	mov	ebx,31
	cmp	ebx,dword [esi+20]
	jb	_3107
	call	_brl_blitz_ArrayBoundsError
_3107:
	cmp	dword [esi+ebx*4+24],0
	jne	_3108
	mov	eax,ebp
	push	eax
	push	_3116
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3109
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3111
	call	_brl_blitz_NullObjectError
_3111:
	mov	esi,dword [ebx+8]
	mov	ebx,31
	cmp	ebx,dword [esi+20]
	jb	_3114
	call	_brl_blitz_ArrayBoundsError
_3114:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],2
	call	dword [_bbOnDebugLeaveScope]
_3108:
	push	_3117
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3119
	call	_brl_blitz_NullObjectError
_3119:
	push	_108
	push	dword [ebp-8]
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	push	eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_3124
	push	eax
	call	_bbGCFree
	add	esp,4
_3124:
	mov	dword [ebx+40],esi
	push	_3125
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3127
	call	_brl_blitz_NullObjectError
_3127:
	cmp	dword [ebx+40],_bbEmptyArray
	jne	_3128
	mov	eax,ebp
	push	eax
	push	_3130
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3129
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1416
_3128:
	push	_3131
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3133
	call	_brl_blitz_NullObjectError
_3133:
	push	_109
	push	dword [ebp-8]
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	push	eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_3138
	push	eax
	call	_bbGCFree
	add	esp,4
_3138:
	mov	dword [ebx+44],esi
	push	_3139
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3141
	call	_brl_blitz_NullObjectError
_3141:
	push	_110
	push	dword [ebp-8]
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	push	eax
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax]
	call	dword [eax+84]
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_3146
	push	eax
	call	_bbGCFree
	add	esp,4
_3146:
	mov	dword [ebx+48],esi
	push	_3147
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3149
	call	_brl_blitz_NullObjectError
_3149:
	push	dword [ebp-8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax]
	call	dword [eax+80]
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+60]
	dec	dword [eax+4]
	jnz	_3154
	push	eax
	call	_bbGCFree
	add	esp,4
_3154:
	mov	dword [esi+60],ebx
	push	_3155
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3157
	call	_brl_blitz_NullObjectError
_3157:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3160
	call	_brl_blitz_NullObjectError
_3160:
	mov	esi,dword [ebx+40]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_3163
	call	_brl_blitz_ArrayBoundsError
_3163:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3165
	call	_brl_blitz_NullObjectError
_3165:
	mov	eax,dword [ebx+8]
	mov	dword [edi+64],eax
	push	_3166
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3168
	call	_brl_blitz_NullObjectError
_3168:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3171
	call	_brl_blitz_NullObjectError
_3171:
	mov	esi,dword [ebx+40]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_3174
	call	_brl_blitz_ArrayBoundsError
_3174:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3176
	call	_brl_blitz_NullObjectError
_3176:
	mov	eax,dword [ebx+8]
	mov	dword [edi+68],eax
	push	_3177
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3179
	call	_brl_blitz_NullObjectError
_3179:
	push	dword [ebx+60]
	push	_111
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3180
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3182
	call	_brl_blitz_NullObjectError
_3182:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,4
	push	_3183
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3185
	call	_brl_blitz_NullObjectError
_3185:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3187
	call	_brl_blitz_NullObjectError
_3187:
	push	dword [ebp-8]
	push	dword [esi+12]
	push	_112
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	push	_3188
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3190
	call	_brl_blitz_NullObjectError
_3190:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3192
	call	_brl_blitz_NullObjectError
_3192:
	push	dword [esi+36]
	push	_113
	push	dword [ebp-8]
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,12
	push	_3193
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3195
	call	_brl_blitz_NullObjectError
_3195:
	push	_114
	push	dword [ebp-8]
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	_3196
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3198
	call	_brl_blitz_NullObjectError
_3198:
	push	0
	push	500
	push	_115
	push	dword [ebp-8]
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+100]
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,16
	push	_3199
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	jmp	_1416
_1416:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_LoadNPCD:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],_bbNullObject
	mov	dword [ebp-32],_bbEmptyArray
	mov	dword [ebp-36],0
	mov	dword [ebp-40],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_3271
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3203
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	push	_3206
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],_bbNullObject
	push	_3208
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	500
	push	_3209
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-32],eax
	push	_3211
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3212
_118:
	mov	eax,ebp
	push	eax
	push	_3222
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3214
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	mov	eax,dword [ebp-32]
	cmp	ebx,dword [eax+20]
	jb	_3216
	call	_brl_blitz_ArrayBoundsError
_3216:
	mov	eax,dword [ebp-32]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	push	_bb_NPCType
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3221
	push	eax
	call	_bbGCFree
	add	esp,4
_3221:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_116:
	add	dword [ebp-20],1
_3212:
	cmp	dword [ebp-20],edi
	jle	_118
_117:
	push	_3223
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-28],eax
	push	_3224
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	7
	push	dword [ebp-28]
	call	_brl_stream_SeekStream
	add	esp,8
	push	_3225
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	9
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	mov	ebx,eax
	push	dword [ebp-28]
	call	_brl_stream_StreamSize
	add	esp,4
	cdq
	idiv	ebx
	mov	dword [ebp-12],eax
	push	_3226
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_119
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3227
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	9
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+92]
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-36],eax
	push	_3229
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_120
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3230
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	push	_3231
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-40],eax
	push	_3233
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	eax,dword [ebp-12]
	sub	eax,1
	mov	dword [ebp-44],eax
	jmp	_3234
_123:
	mov	eax,ebp
	push	eax
	push	_3261
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3236
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_RPGLump]
	cmp	ebx,_bbNullObject
	jne	_3238
	call	_brl_blitz_NullObjectError
_3238:
	push	-1
	push	dword [ebp-36]
	push	dword [ebp-28]
	push	dword [ebp-40]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,20
	push	_3239
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-36]
	sub	eax,1
	mov	edi,eax
	jmp	_3240
_126:
	mov	eax,ebp
	push	eax
	push	_3247
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3242
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	mov	eax,dword [ebp-32]
	cmp	esi,dword [eax+20]
	jb	_3244
	call	_brl_blitz_ArrayBoundsError
_3244:
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-40]
	cmp	ebx,dword [eax+20]
	jb	_3246
	call	_brl_blitz_ArrayBoundsError
_3246:
	mov	eax,dword [ebp-40]
	push	dword [eax+ebx*4+24]
	push	dword [ebp-24]
	mov	eax,dword [ebp-32]
	push	dword [eax+esi*4+24]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_124:
	add	dword [ebp-24],1
_3240:
	cmp	dword [ebp-24],edi
	jle	_126
_125:
	push	_3248
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	mov	eax,dword [ebp-32]
	cmp	ebx,dword [eax+20]
	jb	_3250
	call	_brl_blitz_ArrayBoundsError
_3250:
	mov	eax,dword [ebp-32]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3252
	call	_brl_blitz_NullObjectError
_3252:
	cmp	dword [ebx+20],3
	jne	_3253
	mov	eax,ebp
	push	eax
	push	_3260
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3254
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	mov	eax,dword [ebp-32]
	cmp	ebx,dword [eax+20]
	jb	_3256
	call	_brl_blitz_ArrayBoundsError
_3256:
	mov	eax,dword [ebp-32]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3258
	call	_brl_blitz_NullObjectError
_3258:
	mov	dword [ebx+20],10
	call	dword [_bbOnDebugLeaveScope]
_3253:
	call	dword [_bbOnDebugLeaveScope]
_121:
	add	dword [ebp-20],1
_3234:
	mov	eax,dword [ebp-44]
	cmp	dword [ebp-20],eax
	jle	_123
_122:
	push	_3262
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3264
	call	_brl_blitz_NullObjectError
_3264:
	mov	ebx,dword [ebp-32]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_3269
	push	eax
	call	_bbGCFree
	add	esp,4
_3269:
	mov	dword [esi+20],ebx
	push	_3270
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_brl_filesystem_CloseFile
	add	esp,4
	mov	ebx,0
	jmp	_1422
_1422:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_SetNPCD:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	push	ebp
	push	_3292
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3275
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,0
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_3278
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3277
	call	_brl_blitz_NullObjectError
_3277:
	mov	edx,dword [ebp-8]
	mov	eax,dword [ebx+84]
	mov	eax,dword [eax+20]
	sub	eax,1
	cmp	edx,eax
	setle	al
	movzx	eax,al
_3278:
	cmp	eax,0
	je	_3280
	push	ebp
	push	_3288
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3281
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3283
	call	_brl_blitz_NullObjectError
_3283:
	mov	esi,dword [ebx+84]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_3286
	call	_brl_blitz_ArrayBoundsError
_3286:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-12]
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3289
_3280:
	push	ebp
	push	_3291
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3290
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_128
	push	dword [ebp-8]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_127
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_3289:
	mov	ebx,0
	jmp	_1427
_1427:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_LoadNPCL:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_3418
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3295
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	push	_3297
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],_bbNullObject
	push	_3299
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3301
	call	_brl_blitz_NullObjectError
_3301:
	mov	dword [ebx+32],0
	push	_3303
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-16],eax
	push	_3304
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	7
	push	dword [ebp-16]
	call	_brl_stream_SeekStream
	add	esp,8
	push	_3305
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	300
	push	_3306
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-20],eax
	push	_3308
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	jmp	_3309
_131:
	mov	eax,ebp
	push	eax
	push	_3329
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3310
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3312
	call	_brl_blitz_ArrayBoundsError
_3312:
	mov	eax,dword [ebp-20]
	cmp	dword [eax+ebx*4+24],_bbNullObject
	jne	_3313
	mov	eax,ebp
	push	eax
	push	_3322
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3314
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3316
	call	_brl_blitz_ArrayBoundsError
_3316:
	mov	esi,dword [ebp-20]
	shl	ebx,2
	add	esi,ebx
	push	_bb_NPCInst
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3321
	push	eax
	call	_bbGCFree
	add	esp,4
_3321:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_3313:
	push	_3323
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3325
	call	_brl_blitz_ArrayBoundsError
_3325:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3327
	call	_brl_blitz_NullObjectError
_3327:
	push	dword [ebp-16]
	call	_brl_stream_ReadShort
	add	esp,4
	imul	eax,20
	mov	dword [ebx+12],eax
	call	dword [_bbOnDebugLeaveScope]
_129:
	add	dword [ebp-12],1
_3309:
	cmp	dword [ebp-12],299
	jle	_131
_130:
	push	_3330
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	jmp	_3331
_134:
	mov	eax,ebp
	push	eax
	push	_3338
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3332
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3334
	call	_brl_blitz_ArrayBoundsError
_3334:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3336
	call	_brl_blitz_NullObjectError
_3336:
	push	dword [ebp-16]
	call	_brl_stream_ReadShort
	add	esp,4
	imul	eax,20
	mov	dword [ebx+16],eax
	call	dword [_bbOnDebugLeaveScope]
_132:
	add	dword [ebp-12],1
_3331:
	cmp	dword [ebp-12],299
	jle	_134
_133:
	push	_3339
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	jmp	_3340
_137:
	mov	eax,ebp
	push	eax
	push	_3347
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3341
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3343
	call	_brl_blitz_ArrayBoundsError
_3343:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3345
	call	_brl_blitz_NullObjectError
_3345:
	push	dword [ebp-16]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+20],eax
	call	dword [_bbOnDebugLeaveScope]
_135:
	add	dword [ebp-12],1
_3340:
	cmp	dword [ebp-12],299
	jle	_137
_136:
	push	_3348
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	jmp	_3349
_140:
	mov	eax,ebp
	push	eax
	push	_3356
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3350
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3352
	call	_brl_blitz_ArrayBoundsError
_3352:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3354
	call	_brl_blitz_NullObjectError
_3354:
	push	dword [ebp-16]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+32],eax
	call	dword [_bbOnDebugLeaveScope]
_138:
	add	dword [ebp-12],1
_3349:
	cmp	dword [ebp-12],299
	jle	_140
_139:
	push	_3357
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	jmp	_3358
_143:
	mov	eax,ebp
	push	eax
	push	_3365
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3359
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3361
	call	_brl_blitz_ArrayBoundsError
_3361:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3363
	call	_brl_blitz_NullObjectError
_3363:
	push	dword [ebp-16]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+36],eax
	call	dword [_bbOnDebugLeaveScope]
_141:
	add	dword [ebp-12],1
_3358:
	cmp	dword [ebp-12],299
	jle	_143
_142:
	push	_3366
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	jmp	_3367
_146:
	mov	eax,ebp
	push	eax
	push	_3408
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3368
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3370
	call	_brl_blitz_ArrayBoundsError
_3370:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3372
	call	_brl_blitz_NullObjectError
_3372:
	mov	eax,dword [ebx+36]
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_3377
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3374
	call	_brl_blitz_ArrayBoundsError
_3374:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3376
	call	_brl_blitz_NullObjectError
_3376:
	mov	eax,dword [ebx+12]
	cmp	eax,0
	sete	al
	movzx	eax,al
_3377:
	cmp	eax,0
	je	_3383
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3380
	call	_brl_blitz_ArrayBoundsError
_3380:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3382
	call	_brl_blitz_NullObjectError
_3382:
	mov	eax,dword [ebx+16]
	cmp	eax,0
	sete	al
	movzx	eax,al
_3383:
	cmp	eax,0
	je	_3389
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3386
	call	_brl_blitz_ArrayBoundsError
_3386:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3388
	call	_brl_blitz_NullObjectError
_3388:
	mov	eax,dword [ebx+20]
	cmp	eax,0
	sete	al
	movzx	eax,al
_3389:
	cmp	eax,0
	je	_3395
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_3392
	call	_brl_blitz_ArrayBoundsError
_3392:
	mov	eax,dword [ebp-20]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3394
	call	_brl_blitz_NullObjectError
_3394:
	mov	eax,dword [ebx+32]
	cmp	eax,0
	sete	al
	movzx	eax,al
_3395:
	cmp	eax,0
	je	_3397
	mov	eax,ebp
	push	eax
	push	_3399
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3398
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_145
_3397:
	mov	eax,ebp
	push	eax
	push	_3407
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3401
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3403
	call	_brl_blitz_NullObjectError
_3403:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3406
	call	_brl_blitz_NullObjectError
_3406:
	mov	eax,dword [esi+32]
	add	eax,1
	mov	dword [ebx+32],eax
	call	dword [_bbOnDebugLeaveScope]
_3400:
	call	dword [_bbOnDebugLeaveScope]
_144:
	add	dword [ebp-12],1
_3367:
	cmp	dword [ebp-12],299
	jle	_146
_145:
	push	_3409
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3411
	call	_brl_blitz_NullObjectError
_3411:
	mov	ebx,dword [ebp-20]
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_3416
	push	eax
	call	_bbGCFree
	add	esp,4
_3416:
	mov	dword [esi+16],ebx
	push	_3417
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_brl_filesystem_CloseFile
	add	esp,4
	mov	ebx,0
	jmp	_1431
_1431:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_DeSerDoors:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],0
	push	ebp
	push	_3489
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3419
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,1
	jne	_3420
	push	ebp
	push	_3422
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3421
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1437
_3420:
	push	_3423
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	push	_3425
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	push	_3427
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-20],eax
	push	_3428
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	imul	eax,600
	push	eax
	push	dword [ebp-20]
	call	_brl_stream_SeekStream
	add	esp,8
	push	_3429
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	jmp	_3430
_149:
	push	ebp
	push	_3450
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3431
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3433
	call	_brl_blitz_ArrayBoundsError
_3433:
	mov	eax,dword [ebp-12]
	cmp	dword [eax+ebx*4+24],_bbNullObject
	jne	_3434
	push	ebp
	push	_3443
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3435
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	esi,dword [eax+20]
	jb	_3437
	call	_brl_blitz_ArrayBoundsError
_3437:
	mov	ebx,dword [ebp-12]
	shl	esi,2
	add	ebx,esi
	push	_bb_Door
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_3442
	push	eax
	call	_bbGCFree
	add	esp,4
_3442:
	mov	dword [ebx+24],esi
	call	dword [_bbOnDebugLeaveScope]
_3434:
	push	_3444
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3446
	call	_brl_blitz_ArrayBoundsError
_3446:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3448
	call	_brl_blitz_NullObjectError
_3448:
	push	dword [ebp-20]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+8],eax
	call	dword [_bbOnDebugLeaveScope]
_147:
	add	dword [ebp-24],1
_3430:
	cmp	dword [ebp-24],99
	jle	_149
_148:
	push	_3451
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	jmp	_3452
_152:
	push	ebp
	push	_3459
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3453
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3455
	call	_brl_blitz_ArrayBoundsError
_3455:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3457
	call	_brl_blitz_NullObjectError
_3457:
	push	dword [ebp-20]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+12],eax
	call	dword [_bbOnDebugLeaveScope]
_150:
	add	dword [ebp-24],1
_3452:
	cmp	dword [ebp-24],99
	jle	_152
_151:
	push	_3460
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	jmp	_3461
_155:
	push	ebp
	push	_3487
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3462
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3464
	call	_brl_blitz_ArrayBoundsError
_3464:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3466
	call	_brl_blitz_NullObjectError
_3466:
	mov	esi,dword [ebx+16]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_3469
	call	_brl_blitz_ArrayBoundsError
_3469:
	shl	ebx,2
	add	esi,ebx
	push	dword [ebp-20]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [esi+24],eax
	push	_3471
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3473
	call	_brl_blitz_ArrayBoundsError
_3473:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3475
	call	_brl_blitz_NullObjectError
_3475:
	mov	esi,dword [ebx+16]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_3478
	call	_brl_blitz_ArrayBoundsError
_3478:
	cmp	dword [esi+ebx*4+24],1
	jne	_3479
	push	ebp
	push	_3486
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3480
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3482
	call	_brl_blitz_NullObjectError
_3482:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3485
	call	_brl_blitz_NullObjectError
_3485:
	mov	eax,dword [esi+24]
	add	eax,1
	mov	dword [ebx+24],eax
	call	dword [_bbOnDebugLeaveScope]
_3479:
	call	dword [_bbOnDebugLeaveScope]
_153:
	add	dword [ebp-24],1
_3461:
	cmp	dword [ebp-24],99
	jle	_155
_154:
	push	_3488
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_filesystem_CloseFile
	add	esp,4
	mov	ebx,0
	jmp	_1437
_1437:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_DeserDoorLinks:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],0
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],0
	mov	dword [ebp-28],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_3585
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3490
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],-1
	push	_3492
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	push	_3494
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	push	_3496
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,1
	jne	_3497
	mov	eax,ebp
	push	eax
	push	_3500
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3498
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	_156
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3499
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1442
_3497:
	push	_3501
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-20],eax
	push	_3502
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	7
	push	_3503
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-28],eax
	push	_3505
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-28]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	esi,eax
	jmp	_3506
_159:
	mov	eax,ebp
	push	eax
	push	_3512
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3508
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-28]
	cmp	ebx,dword [eax+20]
	jb	_3510
	call	_brl_blitz_ArrayBoundsError
_3510:
	mov	eax,dword [ebp-28]
	add	eax,ebx
	mov	ebx,eax
	push	dword [ebp-20]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebx+24],al
	call	dword [_bbOnDebugLeaveScope]
_157:
	add	dword [ebp-24],1
_3506:
	cmp	dword [ebp-24],esi
	jle	_159
_158:
	push	_3513
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	jmp	_3514
_162:
	mov	eax,ebp
	push	eax
	push	_3547
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3515
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3517
	call	_brl_blitz_ArrayBoundsError
_3517:
	mov	eax,dword [ebp-12]
	cmp	dword [eax+ebx*4+24],_bbNullObject
	jne	_3518
	mov	eax,ebp
	push	eax
	push	_3527
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3519
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3521
	call	_brl_blitz_ArrayBoundsError
_3521:
	mov	esi,dword [ebp-12]
	shl	ebx,2
	add	esi,ebx
	push	_bb_DoorLink
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3526
	push	eax
	call	_bbGCFree
	add	esp,4
_3526:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_3518:
	push	_3528
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3530
	call	_brl_blitz_ArrayBoundsError
_3530:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3532
	call	_brl_blitz_NullObjectError
_3532:
	push	dword [ebp-20]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+8],eax
	push	_3534
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3536
	call	_brl_blitz_ArrayBoundsError
_3536:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3538
	call	_brl_blitz_NullObjectError
_3538:
	cmp	dword [ebx+8],65535
	je	_3539
	mov	eax,ebp
	push	eax
	push	_3546
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3540
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3542
	call	_brl_blitz_NullObjectError
_3542:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3545
	call	_brl_blitz_NullObjectError
_3545:
	mov	eax,dword [esi+28]
	add	eax,1
	mov	dword [ebx+28],eax
	call	dword [_bbOnDebugLeaveScope]
_3539:
	call	dword [_bbOnDebugLeaveScope]
_160:
	add	dword [ebp-24],1
_3514:
	cmp	dword [ebp-24],199
	jle	_162
_161:
	push	_3548
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	jmp	_3549
_165:
	mov	eax,ebp
	push	eax
	push	_3556
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3550
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3552
	call	_brl_blitz_ArrayBoundsError
_3552:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3554
	call	_brl_blitz_NullObjectError
_3554:
	push	dword [ebp-20]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+12],eax
	call	dword [_bbOnDebugLeaveScope]
_163:
	add	dword [ebp-24],1
_3549:
	cmp	dword [ebp-24],199
	jle	_165
_164:
	push	_3557
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	jmp	_3558
_168:
	mov	eax,ebp
	push	eax
	push	_3565
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3559
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3561
	call	_brl_blitz_ArrayBoundsError
_3561:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3563
	call	_brl_blitz_NullObjectError
_3563:
	push	dword [ebp-20]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+16],eax
	call	dword [_bbOnDebugLeaveScope]
_166:
	add	dword [ebp-24],1
_3558:
	cmp	dword [ebp-24],199
	jle	_168
_167:
	push	_3566
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	jmp	_3567
_171:
	mov	eax,ebp
	push	eax
	push	_3574
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3568
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3570
	call	_brl_blitz_ArrayBoundsError
_3570:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3572
	call	_brl_blitz_NullObjectError
_3572:
	push	dword [ebp-20]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+20],eax
	call	dword [_bbOnDebugLeaveScope]
_169:
	add	dword [ebp-24],1
_3567:
	cmp	dword [ebp-24],199
	jle	_171
_170:
	push	_3575
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	jmp	_3576
_174:
	mov	eax,ebp
	push	eax
	push	_3583
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3577
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_3579
	call	_brl_blitz_ArrayBoundsError
_3579:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3581
	call	_brl_blitz_NullObjectError
_3581:
	push	dword [ebp-20]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	dword [ebx+24],eax
	call	dword [_bbOnDebugLeaveScope]
_172:
	add	dword [ebp-24],1
_3576:
	cmp	dword [ebp-24],199
	jle	_174
_173:
	push	_3584
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_filesystem_CloseFile
	add	esp,4
	mov	ebx,0
	jmp	_1442
_1442:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_layer_tileset_index:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3596
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3589
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-4],2
	jg	_3590
	push	ebp
	push	_3592
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3591
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	add	ebx,22
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1445
_3590:
	push	ebp
	push	_3595
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3594
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	add	ebx,23
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1445
_1445:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_loadmaptilesets:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	eax,ebp
	push	eax
	push	_3648
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3598
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],0
	mov	dword [ebp-12],0
	push	_3601
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	push	_3603
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3605
	call	_brl_blitz_NullObjectError
_3605:
	mov	eax,dword [ebx+56]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3606
_177:
	mov	eax,ebp
	push	eax
	push	_3634
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3608
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3610
	call	_brl_blitz_NullObjectError
_3610:
	mov	esi,dword [ebx+8]
	push	dword [ebp-8]
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax]
	call	dword [eax+72]
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_3613
	call	_brl_blitz_ArrayBoundsError
_3613:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-16],eax
	push	_3614
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],0
	je	_3615
	mov	eax,ebp
	push	eax
	push	_3617
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3616
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	sub	dword [ebp-16],1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_3618
_3615:
	mov	eax,ebp
	push	eax
	push	_3625
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3619
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3621
	call	_brl_blitz_NullObjectError
_3621:
	mov	esi,dword [ebx+8]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_3624
	call	_brl_blitz_ArrayBoundsError
_3624:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-16],eax
	call	dword [_bbOnDebugLeaveScope]
_3618:
	push	_3626
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3628
	call	_brl_blitz_NullObjectError
_3628:
	mov	esi,dword [ebx+56]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_3631
	call	_brl_blitz_ArrayBoundsError
_3631:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	edx,dword [ebp-16]
	mov	dword [eax+24],edx
	push	_3633
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_178
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_175:
	add	dword [ebp-8],1
_3606:
	cmp	dword [ebp-8],edi
	jle	_177
_176:
	push	_3635
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3638
	call	_brl_blitz_NullObjectError
_3638:
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_3639
_181:
	mov	eax,ebp
	push	eax
	push	_3647
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3641
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3643
	call	_brl_blitz_NullObjectError
_3643:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-20]
	cmp	ebx,dword [esi+20]
	jb	_3646
	call	_brl_blitz_ArrayBoundsError
_3646:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_183
	push	dword [ebp-20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_182
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_179:
	add	dword [ebp-20],1
_3639:
	cmp	dword [ebp-20],edi
	jle	_181
_180:
	mov	ebx,0
	jmp	_1448
_1448:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_getmapname:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	dword [ebp-12],_bbEmptyArray
	mov	dword [ebp-16],_bbEmptyString
	push	ebp
	push	_3664
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3650
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	39
	push	_3651
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_3653
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_RPGLump]
	cmp	ebx,_bbNullObject
	jne	_3655
	call	_brl_blitz_NullObjectError
_3655:
	push	1
	push	dword [ebp-4]
	push	40
	push	_184
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,24
	push	_3656
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_3659
	call	_brl_blitz_ArrayBoundsError
_3659:
	push	39
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	and	eax,255
	push	eax
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+108]
	add	esp,8
	push	eax
	push	_3657
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	push	_3661
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	push	1
	push	dword [ebp-8]
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+120]
	add	esp,12
	mov	dword [ebp-16],eax
	push	_3663
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	jmp	_1451
_1451:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapeditState_LoadTilemap:
	push	ebp
	mov	ebp,esp
	sub	esp,48
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	word [ebp-4],0
	mov	word [ebp-8],0
	mov	dword [ebp-36],_bbEmptyArray
	mov	dword [ebp-40],_bbEmptyArray
	mov	dword [ebp-44],0
	mov	eax,ebp
	push	eax
	push	_3757
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3666
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],_bbNullObject
	push	_3668
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	push	_3673
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	push	_185
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3674
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_retro_Lower
	add	esp,4
	push	eax
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-16],eax
	push	_3675
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	jne	_3676
	mov	eax,ebp
	push	eax
	push	_3678
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3677
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbEmptyArray
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1454
_3676:
	push	_3679
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	7
	push	dword [ebp-16]
	call	_brl_stream_SeekStream
	add	esp,8
	push	_3680
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-4],ax
	push	_3682
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	32678
	push	16
	movzx	eax,word [ebp-4]
	mov	eax,eax
	push	eax
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,12
	mov	dword [ebp-28],eax
	push	_3683
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-8],ax
	push	_3685
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	32678
	push	10
	movzx	eax,word [ebp-8]
	mov	eax,eax
	push	eax
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,12
	mov	dword [ebp-32],eax
	push	_3686
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,word [ebp-8]
	mov	eax,eax
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_187
	movzx	eax,word [ebp-4]
	mov	eax,eax
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_186
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_3687
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	imul	ebx,dword [ebp-32]
	push	dword [ebp-16]
	call	_brl_stream_StreamSize
	add	esp,4
	sub	eax,11
	cdq
	idiv	ebx
	mov	dword [ebp-20],eax
	push	_3688
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-20]
	cmp	eax,8
	setg	al
	movzx	eax,al
	cmp	eax,0
	jne	_3689
	mov	ebx,dword [ebp-20]
	imul	ebx,dword [ebp-28]
	imul	ebx,dword [ebp-32]
	add	ebx,11
	push	dword [ebp-16]
	call	_brl_stream_StreamSize
	add	esp,4
	cmp	ebx,eax
	setne	al
	movzx	eax,al
_3689:
	cmp	eax,0
	je	_3691
	mov	eax,ebp
	push	eax
	push	_3693
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3692
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	8
	push	1
	push	dword [ebp-20]
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+112]
	add	esp,12
	mov	dword [ebp-20],eax
	call	dword [_bbOnDebugLeaveScope]
_3691:
	push	_3694
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	push	_3695
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-36],eax
	push	_3697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	11
	push	dword [ebp-16]
	call	_brl_stream_SeekStream
	add	esp,8
	push	_3698
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-20]
	sub	eax,1
	mov	dword [ebp-48],eax
	jmp	_3699
_190:
	mov	eax,ebp
	push	eax
	push	_3754
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-36]
	cmp	ebx,dword [eax+20]
	jb	_3703
	call	_brl_blitz_ArrayBoundsError
_3703:
	mov	esi,dword [ebp-36]
	shl	ebx,2
	add	esi,ebx
	push	_bb_TileMap
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_3708
	push	eax
	call	_bbGCFree
	add	esp,4
_3708:
	mov	dword [esi+24],ebx
	push	_3709
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-28]
	imul	eax,dword [ebp-32]
	push	eax
	push	_3710
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-40],eax
	push	_3712
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-36]
	cmp	ebx,dword [eax+20]
	jb	_3714
	call	_brl_blitz_ArrayBoundsError
_3714:
	mov	eax,dword [ebp-36]
	mov	esi,dword [eax+ebx*4+24]
	cmp	esi,_bbNullObject
	jne	_3716
	call	_brl_blitz_NullObjectError
_3716:
	mov	ebx,dword [ebp-40]
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_3721
	push	eax
	call	_bbGCFree
	add	esp,4
_3721:
	mov	dword [esi+16],ebx
	push	_3722
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-36]
	cmp	ebx,dword [eax+20]
	jb	_3724
	call	_brl_blitz_ArrayBoundsError
_3724:
	mov	eax,dword [ebp-36]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3726
	call	_brl_blitz_NullObjectError
_3726:
	mov	eax,dword [ebp-28]
	mov	dword [ebx+8],eax
	push	_3728
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-36]
	cmp	ebx,dword [eax+20]
	jb	_3730
	call	_brl_blitz_ArrayBoundsError
_3730:
	mov	eax,dword [ebp-36]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3732
	call	_brl_blitz_NullObjectError
_3732:
	mov	eax,dword [ebp-32]
	mov	dword [ebx+12],eax
	push	_3734
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-36]
	cmp	ebx,dword [eax+20]
	jb	_3736
	call	_brl_blitz_ArrayBoundsError
_3736:
	mov	eax,dword [ebp-36]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3738
	call	_brl_blitz_NullObjectError
_3738:
	mov	eax,dword [ebp-24]
	mov	dword [ebx+20],eax
	push	_3740
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	mov	dword [ebp-44],0
	mov	eax,dword [ebp-28]
	imul	eax,dword [ebp-32]
	sub	eax,1
	mov	edi,eax
	jmp	_3742
_193:
	mov	eax,ebp
	push	eax
	push	_3753
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3744
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	mov	eax,dword [ebp-36]
	cmp	ebx,dword [eax+20]
	jb	_3746
	call	_brl_blitz_ArrayBoundsError
_3746:
	mov	eax,dword [ebp-36]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_3748
	call	_brl_blitz_NullObjectError
_3748:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-44]
	cmp	ebx,dword [esi+20]
	jb	_3751
	call	_brl_blitz_ArrayBoundsError
_3751:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	ebx,eax
	push	dword [ebp-16]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	dword [ebx+24],eax
	call	dword [_bbOnDebugLeaveScope]
_191:
	add	dword [ebp-44],1
_3742:
	cmp	dword [ebp-44],edi
	jle	_193
_192:
	call	dword [_bbOnDebugLeaveScope]
_188:
	add	dword [ebp-24],1
_3699:
	mov	eax,dword [ebp-48]
	cmp	dword [ebp-24],eax
	jle	_190
_189:
	push	_3755
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_3756
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	jmp	_1454
_1454:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TileMap_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3762
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_TileMap
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	push	ebp
	push	_3761
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1457
_1457:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TileMap_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1460:
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_3766
	push	eax
	call	_bbGCFree
	add	esp,4
_3766:
	mov	eax,0
	jmp	_3764
_3764:
	mov	esp,ebp
	pop	ebp
	ret
__bb_ZoneMap_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3770
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_ZoneMap
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	eax,dword [ebp-4]
	mov	word [eax+36],0
	push	ebp
	push	_3769
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1463
_1463:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ZoneMap_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1466:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_3774
	push	eax
	call	_bbGCFree
	add	esp,4
_3774:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3776
	push	eax
	call	_bbGCFree
	add	esp,4
_3776:
	mov	eax,0
	jmp	_3772
_3772:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ZoneInfo_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3781
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_ZoneInfo
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	push	2
	push	_3778
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+24],eax
	push	ebp
	push	_3780
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1469
_1469:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_ZoneInfo_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1472:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_3784
	push	eax
	call	_bbGCFree
	add	esp,4
_3784:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3786
	push	eax
	call	_bbGCFree
	add	esp,4
_3786:
	mov	eax,0
	jmp	_3782
_3782:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Door_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3790
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Door
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	push	1
	push	_3787
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+16],eax
	push	ebp
	push	_3789
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1475
_1475:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Door_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1478:
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_3794
	push	eax
	call	_bbGCFree
	add	esp,4
_3794:
	mov	eax,0
	jmp	_3792
_3792:
	mov	esp,ebp
	pop	ebp
	ret
__bb_DoorLink_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3796
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_DoorLink
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	push	ebp
	push	_3795
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1481
_1481:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_DoorLink_Delete:
	push	ebp
	mov	ebp,esp
_1484:
	mov	eax,0
	jmp	_3798
_3798:
	mov	esp,ebp
	pop	ebp
	ret
__bb_MouseInfo_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3801
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_MouseInfo
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	push	ebp
	push	_3800
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1487
_1487:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MouseInfo_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1490:
	mov	eax,dword [eax+32]
	dec	dword [eax+4]
	jnz	_3805
	push	eax
	call	_bbGCFree
	add	esp,4
_3805:
	mov	eax,0
	jmp	_3803
_3803:
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteState_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3817
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_SpriteState
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	push	_bb_XYPair
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+40],eax
	push	_bb_XYPair
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+44],eax
	push	_bb_XYPair
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+48],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+64],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+68],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+72],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+76],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+80],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+84],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+88],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+92],0
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+96],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+100],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+104],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+108],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+112],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+116],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+120],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+124],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+128],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+132],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+136],0
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+140],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+144],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+148],0
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+152],edx
	push	ebp
	push	_3816
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1493
_1493:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteState_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1496:
	mov	eax,dword [ebx+152]
	dec	dword [eax+4]
	jnz	_3820
	push	eax
	call	_bbGCFree
	add	esp,4
_3820:
	mov	eax,dword [ebx+144]
	dec	dword [eax+4]
	jnz	_3822
	push	eax
	call	_bbGCFree
	add	esp,4
_3822:
	mov	eax,dword [ebx+140]
	dec	dword [eax+4]
	jnz	_3824
	push	eax
	call	_bbGCFree
	add	esp,4
_3824:
	mov	eax,dword [ebx+96]
	dec	dword [eax+4]
	jnz	_3826
	push	eax
	call	_bbGCFree
	add	esp,4
_3826:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_3828
	push	eax
	call	_bbGCFree
	add	esp,4
_3828:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_3830
	push	eax
	call	_bbGCFree
	add	esp,4
_3830:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_3832
	push	eax
	call	_bbGCFree
	add	esp,4
_3832:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_3834
	push	eax
	call	_bbGCFree
	add	esp,4
_3834:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_3836
	push	eax
	call	_bbGCFree
	add	esp,4
_3836:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_3838
	push	eax
	call	_bbGCFree
	add	esp,4
_3838:
	mov	eax,0
	jmp	_3818
_3818:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteState_CreateState:
	push	ebp
	mov	ebp,esp
	sub	esp,60
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+28]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+32]
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp+36]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp+40]
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp+44]
	mov	dword [ebp-40],eax
	mov	eax,dword [ebp+48]
	mov	dword [ebp-44],eax
	mov	dword [ebp-48],_bbEmptyArray
	mov	dword [ebp-52],_bbEmptyArray
	mov	dword [ebp-56],_bbEmptyArray
	mov	dword [ebp-60],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_4033
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3839
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	push	_3840
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-48],eax
	push	_3842
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3844
	call	_brl_blitz_NullObjectError
_3844:
	mov	ebx,dword [ebp-48]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_3849
	push	eax
	call	_bbGCFree
	add	esp,4
_3849:
	mov	dword [esi+8],ebx
	push	_3850
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3852
	call	_brl_blitz_NullObjectError
_3852:
	mov	eax,dword [ebp-32]
	mov	dword [ebx+92],eax
	push	_3854
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3856
	call	_brl_blitz_NullObjectError
_3856:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3859
	call	_brl_blitz_NullObjectError
_3859:
	push	dword [esi+92]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_194
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+96]
	dec	dword [eax+4]
	jnz	_3863
	push	eax
	call	_bbGCFree
	add	esp,4
_3863:
	mov	dword [ebx+96],esi
	push	_3864
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3866
	call	_brl_blitz_NullObjectError
_3866:
	mov	dword [ebx+100],0
	push	_3868
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3870
	call	_brl_blitz_NullObjectError
_3870:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+64],eax
	push	_3872
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3874
	call	_brl_blitz_NullObjectError
_3874:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+68],eax
	push	_3876
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3878
	call	_brl_blitz_NullObjectError
_3878:
	mov	eax,dword [ebp-20]
	mov	dword [ebx+72],eax
	push	_3880
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3882
	call	_brl_blitz_NullObjectError
_3882:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3885
	call	_brl_blitz_NullObjectError
_3885:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3887
	call	_brl_blitz_NullObjectError
_3887:
	mov	eax,dword [esi+64]
	imul	eax,dword [ebx+68]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [edi+76],eax
	push	_3888
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3890
	call	_brl_blitz_NullObjectError
_3890:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3893
	call	_brl_blitz_NullObjectError
_3893:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3895
	call	_brl_blitz_NullObjectError
_3895:
	mov	eax,dword [esi+76]
	imul	eax,dword [ebx+72]
	mov	dword [edi+80],eax
	push	_3896
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3898
	call	_brl_blitz_NullObjectError
_3898:
	mov	eax,dword [ebp-28]
	mov	dword [ebx+84],eax
	push	_3900
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3902
	call	_brl_blitz_NullObjectError
_3902:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3905
	call	_brl_blitz_NullObjectError
_3905:
	mov	ecx,dword [esi+68]
	add	ecx,5
	mov	eax,200
	cdq
	idiv	ecx
	sub	eax,1
	mov	dword [ebx+88],eax
	push	_3906
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3908
	call	_brl_blitz_NullObjectError
_3908:
	mov	eax,dword [ebp-36]
	mov	dword [ebx+104],eax
	push	_3910
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3912
	call	_brl_blitz_NullObjectError
_3912:
	mov	dword [ebx+56],0
	push	_3914
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3916
	call	_brl_blitz_NullObjectError
_3916:
	mov	dword [ebx+60],0
	push	_3918
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3920
	call	_brl_blitz_NullObjectError
_3920:
	mov	ebx,dword [ebx+44]
	cmp	ebx,_bbNullObject
	jne	_3922
	call	_brl_blitz_NullObjectError
_3922:
	mov	dword [ebx+8],0
	push	_3924
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3926
	call	_brl_blitz_NullObjectError
_3926:
	mov	ebx,dword [ebx+44]
	cmp	ebx,_bbNullObject
	jne	_3928
	call	_brl_blitz_NullObjectError
_3928:
	mov	dword [ebx+12],0
	push	_3930
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3932
	call	_brl_blitz_NullObjectError
_3932:
	mov	dword [ebx+52],0
	push	_3934
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3936
	call	_brl_blitz_NullObjectError
_3936:
	mov	eax,dword [ebp-24]
	mov	dword [ebx+148],eax
	push	_3938
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3940
	call	_brl_blitz_NullObjectError
_3940:
	mov	dword [ebx+108],0
	push	_3942
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3944
	call	_brl_blitz_NullObjectError
_3944:
	mov	dword [ebx+112],1
	push	_3946
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3948
	call	_brl_blitz_NullObjectError
_3948:
	mov	dword [ebx+116],0
	push	_3950
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3952
	call	_brl_blitz_NullObjectError
_3952:
	mov	dword [ebx+120],5
	push	_3954
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3956
	call	_brl_blitz_NullObjectError
_3956:
	mov	dword [ebx+124],4
	push	_3958
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3960
	call	_brl_blitz_NullObjectError
_3960:
	mov	dword [ebx+128],1
	push	_3962
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3964
	call	_brl_blitz_NullObjectError
_3964:
	mov	ebx,dword [ebx+48]
	cmp	ebx,_bbNullObject
	jne	_3966
	call	_brl_blitz_NullObjectError
_3966:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3969
	call	_brl_blitz_NullObjectError
_3969:
	mov	eax,319
	sub	eax,dword [esi+64]
	mov	dword [ebx+8],eax
	push	_3970
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3972
	call	_brl_blitz_NullObjectError
_3972:
	mov	ebx,dword [ebx+48]
	cmp	ebx,_bbNullObject
	jne	_3974
	call	_brl_blitz_NullObjectError
_3974:
	mov	dword [ebx+12],119
	push	_3976
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3978
	call	_brl_blitz_NullObjectError
_3978:
	mov	eax,dword [ebp-40]
	mov	dword [ebx+132],eax
	push	_3980
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3982
	call	_brl_blitz_NullObjectError
_3982:
	mov	eax,dword [ebp-44]
	mov	dword [ebx+136],eax
	push	_3984
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_3987
	call	_brl_blitz_NullObjectError
_3987:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3989
	call	_brl_blitz_NullObjectError
_3989:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3991
	call	_brl_blitz_NullObjectError
_3991:
	mov	eax,dword [edi+64]
	imul	eax,dword [esi+68]
	imul	eax,dword [ebx+72]
	add	eax,2
	push	eax
	push	_3985
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-52],eax
	push	_3993
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3995
	call	_brl_blitz_NullObjectError
_3995:
	mov	ebx,dword [ebp-52]
	inc	dword [ebx+4]
	mov	eax,dword [esi+140]
	dec	dword [eax+4]
	jnz	_4000
	push	eax
	call	_bbGCFree
	add	esp,4
_4000:
	mov	dword [esi+140],ebx
	push	_4001
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4004
	call	_brl_blitz_NullObjectError
_4004:
	mov	eax,dword [ebx+88]
	add	eax,1
	shl	eax,3
	push	eax
	push	_4002
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-56],eax
	push	_4006
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4008
	call	_brl_blitz_NullObjectError
_4008:
	mov	ebx,dword [ebp-56]
	inc	dword [ebx+4]
	mov	eax,dword [esi+144]
	dec	dword [eax+4]
	jnz	_4013
	push	eax
	call	_bbGCFree
	add	esp,4
_4013:
	mov	dword [esi+144],ebx
	push	_4014
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	add	eax,1
	push	eax
	push	_4015
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-60],eax
	push	_4017
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4019
	call	_brl_blitz_NullObjectError
_4019:
	mov	ebx,dword [ebp-60]
	inc	dword [ebx+4]
	mov	eax,dword [esi+152]
	dec	dword [eax+4]
	jnz	_4024
	push	eax
	call	_bbGCFree
	add	esp,4
_4024:
	mov	dword [esi+152],ebx
	push	_4025
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4027
	call	_brl_blitz_NullObjectError
_4027:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4029
	call	_brl_blitz_NullObjectError
_4029:
	push	dword [ebp-16]
	push	dword [ebx+152]
	push	dword [esi+92]
	call	_bb_loaddefaultpals
	add	esp,12
	push	_4030
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4032
	call	_brl_blitz_NullObjectError
_4032:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,0
	jmp	_1509
_1509:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteState_spriteedit_load_all_you_see:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	mov	dword [ebp-12],0
	push	ebp
	push	_4064
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4047
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],0
	mov	dword [ebp-8],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4050
	call	_brl_blitz_NullObjectError
_4050:
	mov	eax,dword [ebx+8]
	mov	ebx,dword [eax+20]
	sub	ebx,2
	jmp	_4051
_197:
	push	ebp
	push	_4062
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4053
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_198
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4054
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4056
	call	_brl_blitz_NullObjectError
_4056:
	push	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,8
	mov	dword [ebp-12],eax
	push	_4058
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],-1
	jne	_4059
	push	ebp
	push	_4061
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4060
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1512
_4059:
	call	dword [_bbOnDebugLeaveScope]
_195:
	add	dword [ebp-8],1
_4051:
	cmp	dword [ebp-8],ebx
	jle	_197
_196:
	mov	ebx,0
	jmp	_1512
_1512:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteState_spriteedit_load_what_you_see:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_4174
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4065
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	push	_4067
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],_bbNullObject
	push	_4069
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4071
	call	_brl_blitz_NullObjectError
_4071:
	mov	eax,dword [ebx+8]
	mov	eax,dword [eax+20]
	sub	eax,1
	cmp	dword [ebp-8],eax
	jg	_4072
	mov	eax,ebp
	push	eax
	push	_4172
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4073
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4075
	call	_brl_blitz_NullObjectError
_4075:
	push	dword [ebx+96]
	push	_199
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4076
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4078
	call	_brl_blitz_NullObjectError
_4078:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_4081
	call	_brl_blitz_ArrayBoundsError
_4081:
	shl	ebx,2
	add	esi,ebx
	push	_bb_SpriteSet
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4086
	push	eax
	call	_bbGCFree
	add	esp,4
_4086:
	mov	dword [esi+24],ebx
	push	_4087
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4089
	call	_brl_blitz_NullObjectError
_4089:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_4092
	call	_brl_blitz_ArrayBoundsError
_4092:
	mov	esi,dword [esi+ebx*4+24]
	cmp	esi,_bbNullObject
	jne	_4094
	call	_brl_blitz_NullObjectError
_4094:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4096
	call	_brl_blitz_NullObjectError
_4096:
	push	dword [ebx+72]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,8
	push	_4097
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4099
	call	_brl_blitz_NullObjectError
_4099:
	mov	eax,dword [ebx+72]
	sub	eax,1
	mov	dword [ebp-44],eax
	jmp	_4100
_202:
	mov	eax,ebp
	push	eax
	push	_4171
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4102
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4104
	call	_brl_blitz_NullObjectError
_4104:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_4107
	call	_brl_blitz_ArrayBoundsError
_4107:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_4109
	call	_brl_blitz_NullObjectError
_4109:
	mov	edi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4112
	call	_brl_blitz_NullObjectError
_4112:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_4115
	call	_brl_blitz_ArrayBoundsError
_4115:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [edi+20],eax
	push	_4116
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4118
	call	_brl_blitz_NullObjectError
_4118:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_4121
	call	_brl_blitz_ArrayBoundsError
_4121:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_4123
	call	_brl_blitz_NullObjectError
_4123:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_4126
	call	_brl_blitz_ArrayBoundsError
_4126:
	shl	ebx,2
	add	esi,ebx
	mov	dword [ebp-40],esi
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4129
	call	_brl_blitz_NullObjectError
_4129:
	mov	eax,dword [ebx+8]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp-8]
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-36],eax
	jb	_4132
	call	_brl_blitz_ArrayBoundsError
_4132:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-28],eax
	cmp	dword [ebp-28],_bbNullObject
	jne	_4134
	call	_brl_blitz_NullObjectError
_4134:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-24],eax
	cmp	dword [ebp-24],_bbNullObject
	jne	_4136
	call	_brl_blitz_NullObjectError
_4136:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-20],eax
	cmp	dword [ebp-20],_bbNullObject
	jne	_4138
	call	_brl_blitz_NullObjectError
_4138:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_4140
	call	_brl_blitz_NullObjectError
_4140:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4142
	call	_brl_blitz_NullObjectError
_4142:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_4145
	call	_brl_blitz_ArrayBoundsError
_4145:
	push	dword [esi+ebx*4+24]
	push	dword [edi+68]
	mov	eax,dword [ebp-20]
	push	dword [eax+64]
	mov	eax,dword [ebp-24]
	push	dword [eax+72]
	push	dword [ebp-12]
	push	dword [ebp-8]
	mov	eax,dword [ebp-28]
	push	dword [eax+96]
	mov	edx,dword [ebp-32]
	mov	eax,dword [ebp-36]
	mov	eax,dword [edx+eax*4+24]
	mov	eax,dword [eax]
	call	dword [eax+56]
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_4149
	push	eax
	call	_bbGCFree
	add	esp,4
_4149:
	mov	eax,dword [ebp-40]
	mov	dword [eax+24],ebx
	push	_4150
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4152
	call	_brl_blitz_NullObjectError
_4152:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+24],eax
	push	_4154
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4156
	call	_brl_blitz_NullObjectError
_4156:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_4159
	call	_brl_blitz_ArrayBoundsError
_4159:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_4161
	call	_brl_blitz_NullObjectError
_4161:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_4164
	call	_brl_blitz_ArrayBoundsError
_4164:
	cmp	dword [esi+ebx*4+24],_bbNullObject
	jne	_4165
	mov	eax,ebp
	push	eax
	push	_4170
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4166
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4168
	call	_brl_blitz_NullObjectError
_4168:
	push	dword [ebx+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_203
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4169
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1516
_4165:
	call	dword [_bbOnDebugLeaveScope]
_200:
	add	dword [ebp-12],1
_4100:
	mov	eax,dword [ebp-44]
	cmp	dword [ebp-12],eax
	jle	_202
_201:
	call	dword [_bbOnDebugLeaveScope]
_4072:
	push	_4173
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	jmp	_1516
_1516:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Frame_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_4184
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Frame
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	push	3
	push	_4178
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+28],eax
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],1
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],1
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],1
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],edx
	push	ebp
	push	_4183
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1519
_1519:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Frame_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1522:
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_4187
	push	eax
	call	_bbGCFree
	add	esp,4
_4187:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_4189
	push	eax
	call	_bbGCFree
	add	esp,4
_4189:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_4191
	push	eax
	call	_bbGCFree
	add	esp,4
_4191:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_4193
	push	eax
	call	_bbGCFree
	add	esp,4
_4193:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4195
	push	eax
	call	_bbGCFree
	add	esp,4
_4195:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_4197
	push	eax
	call	_bbGCFree
	add	esp,4
_4197:
	mov	eax,0
	jmp	_4185
_4185:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Frame_initframe_bysize:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_4236
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4198
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4200
	call	_brl_blitz_NullObjectError
_4200:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+8],eax
	push	_4202
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4204
	call	_brl_blitz_NullObjectError
_4204:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+12],eax
	push	_4206
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4208
	call	_brl_blitz_NullObjectError
_4208:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4211
	call	_brl_blitz_NullObjectError
_4211:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4213
	call	_brl_blitz_NullObjectError
_4213:
	push	4
	push	6
	push	dword [ebx+12]
	push	dword [esi+8]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+20]
	dec	dword [eax+4]
	jnz	_4217
	push	eax
	call	_bbGCFree
	add	esp,4
_4217:
	mov	dword [edi+20],ebx
	push	_4218
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4221
	call	_brl_blitz_NullObjectError
_4221:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4223
	call	_brl_blitz_NullObjectError
_4223:
	push	dword [ebx+12]
	push	dword [esi+8]
	push	2
	push	_4219
	call	_bbArrayNew
	add	esp,16
	mov	dword [ebp-16],eax
	push	_4225
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4227
	call	_brl_blitz_NullObjectError
_4227:
	mov	ebx,dword [ebp-16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_4232
	push	eax
	call	_bbGCFree
	add	esp,4
_4232:
	mov	dword [esi+32],ebx
	push	_4233
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4235
	call	_brl_blitz_NullObjectError
_4235:
	push	0
	push	0
	push	0
	push	0
	call	_bb_ARGB
	add	esp,16
	push	eax
	push	dword [ebx+20]
	call	_brl_pixmap_ClearPixels
	add	esp,8
	mov	ebx,0
	jmp	_1527
_1527:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Frame_initframe:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbEmptyArray
	mov	dword [ebp-16],_bbEmptyArray
	mov	dword [ebp-20],_bbEmptyArray
	mov	dword [ebp-24],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_4333
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4240
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,4
	je	_4243
	cmp	eax,0
	je	_4244
	cmp	eax,1
	je	_4245
	cmp	eax,2
	je	_4246
	jmp	_4242
_4243:
	mov	eax,ebp
	push	eax
	push	_4266
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4247
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4249
	call	_brl_blitz_NullObjectError
_4249:
	push	4
	push	6
	push	20
	push	20
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4254
	push	eax
	call	_bbGCFree
	add	esp,4
_4254:
	mov	dword [esi+20],ebx
	push	_4255
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	20
	push	20
	push	2
	push	_4256
	call	_bbArrayNew
	add	esp,16
	mov	dword [ebp-12],eax
	push	_4258
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4260
	call	_brl_blitz_NullObjectError
_4260:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_4265
	push	eax
	call	_bbGCFree
	add	esp,4
_4265:
	mov	dword [esi+32],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4242
_4244:
	mov	eax,ebp
	push	eax
	push	_4286
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4267
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4269
	call	_brl_blitz_NullObjectError
_4269:
	push	4
	push	6
	push	100
	push	80
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4274
	push	eax
	call	_bbGCFree
	add	esp,4
_4274:
	mov	dword [esi+20],ebx
	push	_4275
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	100
	push	80
	push	2
	push	_4276
	call	_bbArrayNew
	add	esp,16
	mov	dword [ebp-16],eax
	push	_4278
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4280
	call	_brl_blitz_NullObjectError
_4280:
	mov	ebx,dword [ebp-16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_4285
	push	eax
	call	_bbGCFree
	add	esp,4
_4285:
	mov	dword [esi+32],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4242
_4245:
	mov	eax,ebp
	push	eax
	push	_4307
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4288
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4290
	call	_brl_blitz_NullObjectError
_4290:
	push	4
	push	6
	push	85
	push	85
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4295
	push	eax
	call	_bbGCFree
	add	esp,4
_4295:
	mov	dword [esi+20],ebx
	push	_4296
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	85
	push	85
	push	2
	push	_4297
	call	_bbArrayNew
	add	esp,16
	mov	dword [ebp-20],eax
	push	_4299
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4301
	call	_brl_blitz_NullObjectError
_4301:
	mov	ebx,dword [ebp-20]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_4306
	push	eax
	call	_bbGCFree
	add	esp,4
_4306:
	mov	dword [esi+32],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4242
_4246:
	mov	eax,ebp
	push	eax
	push	_4328
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4309
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4311
	call	_brl_blitz_NullObjectError
_4311:
	push	4
	push	6
	push	125
	push	125
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_4316
	push	eax
	call	_bbGCFree
	add	esp,4
_4316:
	mov	dword [esi+20],ebx
	push	_4317
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	125
	push	125
	push	2
	push	_4318
	call	_bbArrayNew
	add	esp,16
	mov	dword [ebp-24],eax
	push	_4320
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4322
	call	_brl_blitz_NullObjectError
_4322:
	mov	ebx,dword [ebp-24]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_4327
	push	eax
	call	_bbGCFree
	add	esp,4
_4327:
	mov	dword [esi+32],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4242
_4242:
	push	_4330
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4332
	call	_brl_blitz_NullObjectError
_4332:
	push	0
	push	0
	push	0
	push	0
	call	_bb_ARGB
	add	esp,16
	push	eax
	push	dword [ebx+20]
	call	_brl_pixmap_ClearPixels
	add	esp,8
	mov	ebx,0
	jmp	_1531
_1531:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSet_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_4337
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_SpriteSet
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	push	ebp
	push	_4336
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1534
_1534:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSet_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1537:
	mov	eax,dword [eax+16]
	dec	dword [eax+4]
	jnz	_4341
	push	eax
	call	_bbGCFree
	add	esp,4
_4341:
	mov	eax,0
	jmp	_4339
_4339:
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSet_Init:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],_bbEmptyArray
	mov	dword [ebp-20],0
	mov	eax,ebp
	push	eax
	push	_4375
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4342
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4344
	call	_brl_blitz_NullObjectError
_4344:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+12],eax
	push	_4346
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	_4347
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-16],eax
	push	_4349
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	mov	eax,dword [ebp-8]
	sub	eax,1
	mov	edi,eax
	jmp	_4351
_206:
	mov	eax,ebp
	push	eax
	push	_4366
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4353
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_4355
	call	_brl_blitz_ArrayBoundsError
_4355:
	mov	eax,dword [ebp-16]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	push	_bb_Frame
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4360
	push	eax
	call	_bbGCFree
	add	esp,4
_4360:
	mov	dword [esi+24],ebx
	push	_4361
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_4363
	call	_brl_blitz_ArrayBoundsError
_4363:
	mov	eax,dword [ebp-16]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_4365
	call	_brl_blitz_NullObjectError
_4365:
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_204:
	add	dword [ebp-20],1
_4351:
	cmp	dword [ebp-20],edi
	jle	_206
_205:
	push	_4367
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4369
	call	_brl_blitz_NullObjectError
_4369:
	mov	ebx,dword [ebp-16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4374
	push	eax
	call	_bbGCFree
	add	esp,4
_4374:
	mov	dword [esi+16],ebx
	mov	ebx,0
	jmp	_1542
_1542:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSet_InitEmpty:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbEmptyArray
	push	ebp
	push	_4392
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4377
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4379
	call	_brl_blitz_NullObjectError
_4379:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+12],eax
	push	_4381
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	_4382
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	push	_4384
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4386
	call	_brl_blitz_NullObjectError
_4386:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4391
	push	eax
	call	_bbGCFree
	add	esp,4
_4391:
	mov	dword [esi+16],ebx
	mov	ebx,0
	jmp	_1546
_1546:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSet_frame_load:
	push	ebp
	mov	ebp,esp
	sub	esp,88
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+28]
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp+32]
	mov	dword [ebp-32],eax
	mov	dword [ebp-36],_bbNullObject
	mov	dword [ebp-40],0
	mov	dword [ebp-44],0
	mov	dword [ebp-48],_bbNullObject
	mov	dword [ebp-52],0
	mov	dword [ebp-56],0
	mov	dword [ebp-60],0
	mov	dword [ebp-64],0
	mov	byte [ebp-4],0
	mov	eax,ebp
	push	eax
	push	_4516
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4393
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Frame
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-36],eax
	push	_4395
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-24]
	imul	eax,dword [ebp-28]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-40],eax
	push	_4397
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-40]
	imul	eax,dword [ebp-20]
	imul	eax,dword [ebp-12]
	mov	dword [ebp-44],eax
	push	_4399
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,1
	jne	_4400
	mov	eax,ebp
	push	eax
	push	_4403
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4401
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	_207
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4402
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1555
_4400:
	push	_4404
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-48],_bbNullObject
	push	_4406
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-48],eax
	push	_4407
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-48],_bbNullObject
	jne	_4408
	mov	eax,ebp
	push	eax
	push	_4411
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4409
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	_208
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4410
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1555
_4408:
	push	_4412
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_4414
	call	_brl_blitz_NullObjectError
_4414:
	push	dword [ebp-28]
	push	dword [ebp-24]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	push	_4415
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-52],0
	push	_4417
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],0
	jne	_4418
	mov	eax,ebp
	push	eax
	push	_4420
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4419
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edx,dword [ebp-44]
	mov	eax,dword [ebp-40]
	imul	eax,dword [ebp-16]
	add	edx,eax
	push	edx
	push	dword [ebp-48]
	call	_brl_stream_SeekStream
	add	esp,8
	mov	dword [ebp-52],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4421
_4418:
	mov	eax,ebp
	push	eax
	push	_4423
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4422
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edx,dword [ebp-44]
	mov	eax,dword [ebp-40]
	imul	eax,dword [ebp-16]
	add	edx,eax
	push	edx
	push	dword [ebp-48]
	call	_brl_stream_SeekStream
	add	esp,8
	mov	dword [ebp-52],eax
	call	dword [_bbOnDebugLeaveScope]
_4421:
	push	_4424
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-52],-1
	jne	_4425
	mov	eax,ebp
	push	eax
	push	_4429
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4426
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_209
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4427
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-48]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_4428
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1555
_4425:
	mov	eax,ebp
	push	eax
	push	_4437
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4431
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-48]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	je	_4432
	mov	eax,ebp
	push	eax
	push	_4436
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4433
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_209
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4434
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-48]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_4435
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1555
_4432:
	call	dword [_bbOnDebugLeaveScope]
_4430:
	push	_4438
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-56],0
	mov	dword [ebp-60],0
	mov	dword [ebp-64],0
	mov	byte [ebp-4],0
	push	_4443
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-60],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	dword [ebp-88],eax
	jmp	_4444
_212:
	mov	eax,ebp
	push	eax
	push	_4513
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4446
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-64],0
	mov	eax,dword [ebp-28]
	sub	eax,1
	mov	dword [ebp-84],eax
	jmp	_4447
_215:
	mov	eax,ebp
	push	eax
	push	_4512
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4449
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-48]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	je	_4450
	mov	eax,ebp
	push	eax
	push	_4453
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4451
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-48]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_4452
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1555
_4450:
	push	_4454
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-48]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_4455
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_4457
	call	_brl_blitz_NullObjectError
_4457:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-60]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_4460
	call	_brl_blitz_ArrayBoundsError
_4460:
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+24]
	jb	_4462
	call	_brl_blitz_ArrayBoundsError
_4462:
	mov	eax,esi
	mov	edx,edi
	add	edx,ebx
	shl	edx,2
	add	eax,edx
	movzx	edx,byte [ebp-4]
	mov	edx,edx
	shr	edx,4
	mov	dword [eax+28],edx
	push	_4464
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_4466
	call	_brl_blitz_NullObjectError
_4466:
	mov	eax,dword [ebx+20]
	mov	dword [ebp-76],eax
	cmp	dword [ebp-76],_bbNullObject
	jne	_4468
	call	_brl_blitz_NullObjectError
_4468:
	mov	ebx,dword [ebp-32]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_4470
	call	_brl_blitz_ArrayBoundsError
_4470:
	mov	eax,dword [_bb_DefPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_4472
	call	_brl_blitz_NullObjectError
_4472:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-68],eax
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_4475
	call	_brl_blitz_NullObjectError
_4475:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-60]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_4478
	call	_brl_blitz_ArrayBoundsError
_4478:
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+24]
	jb	_4480
	call	_brl_blitz_ArrayBoundsError
_4480:
	mov	eax,edi
	add	eax,ebx
	mov	ebx,dword [esi+eax*4+28]
	mov	eax,dword [ebp-68]
	cmp	ebx,dword [eax+20]
	jb	_4482
	call	_brl_blitz_ArrayBoundsError
_4482:
	mov	eax,dword [ebp-68]
	push	dword [eax+ebx*4+24]
	push	dword [ebp-64]
	push	dword [ebp-60]
	push	dword [ebp-76]
	mov	eax,dword [ebp-76]
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,16
	push	_4483
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-64],1
	push	_4484
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_4486
	call	_brl_blitz_NullObjectError
_4486:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-60]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_4489
	call	_brl_blitz_ArrayBoundsError
_4489:
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+24]
	jb	_4491
	call	_brl_blitz_ArrayBoundsError
_4491:
	mov	eax,esi
	mov	edx,edi
	add	edx,ebx
	shl	edx,2
	add	eax,edx
	movzx	edx,byte [ebp-4]
	mov	edx,edx
	and	edx,15
	mov	dword [eax+28],edx
	push	_4493
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_4495
	call	_brl_blitz_NullObjectError
_4495:
	mov	eax,dword [ebx+20]
	mov	dword [ebp-80],eax
	cmp	dword [ebp-80],_bbNullObject
	jne	_4497
	call	_brl_blitz_NullObjectError
_4497:
	mov	ebx,dword [ebp-32]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_4499
	call	_brl_blitz_ArrayBoundsError
_4499:
	mov	eax,dword [_bb_DefPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_4501
	call	_brl_blitz_NullObjectError
_4501:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-72],eax
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_4504
	call	_brl_blitz_NullObjectError
_4504:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-60]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_4507
	call	_brl_blitz_ArrayBoundsError
_4507:
	mov	ebx,dword [ebp-64]
	cmp	ebx,dword [esi+24]
	jb	_4509
	call	_brl_blitz_ArrayBoundsError
_4509:
	mov	eax,edi
	add	eax,ebx
	mov	ebx,dword [esi+eax*4+28]
	mov	eax,dword [ebp-72]
	cmp	ebx,dword [eax+20]
	jb	_4511
	call	_brl_blitz_ArrayBoundsError
_4511:
	mov	eax,dword [ebp-72]
	push	dword [eax+ebx*4+24]
	push	dword [ebp-64]
	push	dword [ebp-60]
	push	dword [ebp-80]
	mov	eax,dword [ebp-80]
	mov	eax,dword [eax]
	call	dword [eax+76]
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_213:
	add	dword [ebp-64],1
_4447:
	mov	eax,dword [ebp-84]
	cmp	dword [ebp-64],eax
	jle	_215
_214:
	call	dword [_bbOnDebugLeaveScope]
_210:
	add	dword [ebp-60],1
_4444:
	mov	eax,dword [ebp-88]
	cmp	dword [ebp-60],eax
	jle	_212
_211:
	push	_4514
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-48]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_4515
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	jmp	_1555
_1555:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSet_FrameFromBuffer:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	mov	dword [ebp-44],0
	mov	dword [ebp-48],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_4639
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4525
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	push	_4527
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	push	_4529
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],_bbNullObject
	push	_4531
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_4533
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	push	_4535
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	push	_4537
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	push	_4539
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	push	_4541
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4543
	call	_brl_blitz_ArrayBoundsError
_4543:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-16],eax
	push	_4544
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	add	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4546
	call	_brl_blitz_ArrayBoundsError
_4546:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-20],eax
	push	_4547
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_187
	push	dword [ebp-16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_216
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4548
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-12],2
	push	_4549
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Frame
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-24],eax
	push	_4550
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_4552
	call	_brl_blitz_NullObjectError
_4552:
	mov	eax,dword [ebp-16]
	mov	dword [ebx+8],eax
	push	_4554
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_4556
	call	_brl_blitz_NullObjectError
_4556:
	mov	eax,dword [ebp-20]
	mov	dword [ebx+12],eax
	push	_4558
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_4560
	call	_brl_blitz_NullObjectError
_4560:
	mov	edi,ebx
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_4563
	call	_brl_blitz_NullObjectError
_4563:
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_4565
	call	_brl_blitz_NullObjectError
_4565:
	push	4
	push	4
	push	dword [ebx+12]
	push	dword [esi+8]
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+20]
	dec	dword [eax+4]
	jnz	_4569
	push	eax
	call	_bbGCFree
	add	esp,4
_4569:
	mov	dword [edi+20],ebx
	push	_4570
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_4573
	call	_brl_blitz_NullObjectError
_4573:
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_4575
	call	_brl_blitz_NullObjectError
_4575:
	push	dword [ebx+12]
	push	dword [esi+8]
	push	2
	push	_4571
	call	_bbArrayNew
	add	esp,16
	mov	dword [ebp-48],eax
	push	_4577
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_4579
	call	_brl_blitz_NullObjectError
_4579:
	mov	ebx,dword [ebp-48]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_4584
	push	eax
	call	_bbGCFree
	add	esp,4
_4584:
	mov	dword [esi+32],ebx
	push	_4585
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	push	_4586
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	push	_4587
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	mov	eax,dword [ebp-16]
	imul	eax,dword [ebp-20]
	sub	eax,1
	mov	dword [ebp-52],eax
	jmp	_4588
_219:
	mov	eax,ebp
	push	eax
	push	_4634
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4590
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-32]
	cmp	eax,0
	je	_4593
	cmp	eax,1
	je	_4594
	cmp	eax,2
	je	_4595
	cmp	eax,3
	je	_4596
	jmp	_4592
_4593:
	mov	eax,ebp
	push	eax
	push	_4600
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4597
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4599
	call	_brl_blitz_ArrayBoundsError
_4599:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	and	eax,61440
	shr	eax,12
	mov	dword [ebp-40],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4592
_4594:
	mov	eax,ebp
	push	eax
	push	_4604
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4601
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4603
	call	_brl_blitz_ArrayBoundsError
_4603:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	and	eax,3840
	shr	eax,8
	mov	dword [ebp-40],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4592
_4595:
	mov	eax,ebp
	push	eax
	push	_4608
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4605
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4607
	call	_brl_blitz_ArrayBoundsError
_4607:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	and	eax,240
	shr	eax,4
	mov	dword [ebp-40],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4592
_4596:
	mov	eax,ebp
	push	eax
	push	_4612
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4609
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4611
	call	_brl_blitz_ArrayBoundsError
_4611:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	and	eax,15
	mov	dword [ebp-40],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4592
_4592:
	push	_4613
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_4615
	call	_brl_blitz_NullObjectError
_4615:
	mov	edi,dword [ebx+20]
	cmp	edi,_bbNullObject
	jne	_4617
	call	_brl_blitz_NullObjectError
_4617:
	mov	ebx,0
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_4619
	call	_brl_blitz_ArrayBoundsError
_4619:
	mov	eax,dword [_bb_DefPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_4621
	call	_brl_blitz_NullObjectError
_4621:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-40]
	cmp	ebx,dword [esi+20]
	jb	_4624
	call	_brl_blitz_ArrayBoundsError
_4624:
	push	dword [esi+ebx*4+24]
	push	dword [ebp-28]
	push	dword [ebp-44]
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+76]
	add	esp,16
	push	_4625
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-12],1
	push	_4626
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-44],1
	push	_4627
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-20]
	cmp	dword [ebp-44],eax
	jl	_4628
	mov	eax,ebp
	push	eax
	push	_4631
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4629
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-28],1
	push	_4630
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	call	dword [_bbOnDebugLeaveScope]
_4628:
	push	_4632
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-32],1
	push	_4633
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	and	dword [ebp-32],3
	call	dword [_bbOnDebugLeaveScope]
_217:
	add	dword [ebp-36],1
_4588:
	mov	eax,dword [ebp-52]
	cmp	dword [ebp-36],eax
	jle	_219
_218:
	push	_4635
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_4637
	call	_brl_blitz_NullObjectError
_4637:
	push	5
	push	_221
	push	100
	push	1
	call	_brl_random_Rand
	add	esp,8
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_220
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	push	_4638
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	jmp	_1560
_1560:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSet_LoadSprites:
	push	ebp
	mov	ebp,esp
	sub	esp,52
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+28]
	mov	dword [ebp-24],eax
	mov	eax,dword [ebp+32]
	mov	dword [ebp-28],eax
	mov	eax,dword [ebp+36]
	mov	dword [ebp-32],eax
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	mov	dword [ebp-44],0
	mov	dword [ebp-48],0
	mov	dword [ebp-52],0
	mov	eax,ebp
	push	eax
	push	_4705
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4649
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	push	_4651
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	push	_4653
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	push	_4655
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-48],0
	push	_4657
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-52],0
	push	_4659
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-28]
	imul	eax,dword [ebp-32]
	add	eax,1
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	dword [ebp-48],eax
	push	_4660
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ecx,320
	mov	eax,dword [ebp-20]
	cdq
	idiv	ecx
	add	dword [ebp-24],eax
	push	_4661
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ecx,320
	mov	eax,dword [ebp-20]
	cdq
	idiv	ecx
	mov	eax,edx
	mov	dword [ebp-20],eax
	push	_4662
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_223
	push	dword [ebp-20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_222
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4663
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	push	_4664
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	mov	dword [ebp-40],eax
	push	_4665
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-40]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4667
	call	_brl_blitz_ArrayBoundsError
_4667:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edx,dword [ebp-28]
	mov	dword [eax+24],edx
	push	_4669
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-40]
	add	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4671
	call	_brl_blitz_ArrayBoundsError
_4671:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edx,dword [ebp-32]
	mov	dword [eax+24],edx
	push	_4673
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-40],2
	push	_4674
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-48]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_224
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4675
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	mov	eax,dword [ebp-48]
	sub	eax,1
	mov	edi,eax
	jmp	_4676
_227:
	mov	eax,ebp
	push	eax
	push	_4703
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4678
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	push	dword [ebp-20]
	push	dword [ebp-12]
	call	_brl_pixmap_ReadPixel
	add	esp,12
	mov	dword [ebp-52],eax
	push	_4679
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-44],0
	jne	_4680
	mov	eax,ebp
	push	eax
	push	_4686
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4681
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-40]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4683
	call	_brl_blitz_ArrayBoundsError
_4683:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edx,dword [ebp-52]
	shl	edx,8
	mov	dword [eax+24],edx
	push	_4685
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4687
_4680:
	mov	eax,ebp
	push	eax
	push	_4696
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4688
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-40]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4690
	call	_brl_blitz_ArrayBoundsError
_4690:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	mov	ebx,dword [ebp-40]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4693
	call	_brl_blitz_ArrayBoundsError
_4693:
	mov	eax,dword [ebp-8]
	mov	eax,dword [eax+ebx*4+24]
	or	eax,dword [ebp-52]
	mov	dword [esi+24],eax
	push	_4694
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-40],1
	push	_4695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-44],0
	call	dword [_bbOnDebugLeaveScope]
_4687:
	push	_4697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-20],1
	push	_4698
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],320
	jne	_4699
	mov	eax,ebp
	push	eax
	push	_4702
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4700
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-24],1
	push	_4701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	call	dword [_bbOnDebugLeaveScope]
_4699:
	call	dword [_bbOnDebugLeaveScope]
_225:
	add	dword [ebp-36],1
_4676:
	cmp	dword [ebp-36],edi
	jle	_227
_226:
	push	_4704
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	jmp	_1570
_1570:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TileAnimState_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_4710
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_TileAnimState
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	push	ebp
	push	_4709
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1573
_1573:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TileAnimState_Delete:
	push	ebp
	mov	ebp,esp
_1576:
	mov	eax,0
	jmp	_4712
_4712:
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilesetData_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_4720
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_TilesetData
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	push	1
	push	_4715
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+20],eax
	push	40
	push	_4717
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+24],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],20
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],20
	push	ebp
	push	_4719
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1579
_1579:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilesetData_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1582:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_4724
	push	eax
	call	_bbGCFree
	add	esp,4
_4724:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_4726
	push	eax
	call	_bbGCFree
	add	esp,4
_4726:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4728
	push	eax
	call	_bbGCFree
	add	esp,4
_4728:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4730
	push	eax
	call	_bbGCFree
	add	esp,4
_4730:
	mov	eax,0
	jmp	_4722
_4722:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilesetData_LoadTileset:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,ebp
	push	eax
	push	_4771
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4731
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4733
	call	_brl_blitz_NullObjectError
_4733:
	push	_228
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4738
	push	eax
	call	_bbGCFree
	add	esp,4
_4738:
	mov	dword [ebx+8],esi
	push	_4739
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4741
	call	_brl_blitz_NullObjectError
_4741:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4744
	call	_brl_blitz_NullObjectError
_4744:
	push	_bbNullObject
	push	dword [ebp-8]
	push	dword [ebx+8]
	call	_bb_loadmxs
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4748
	push	eax
	call	_bbGCFree
	add	esp,4
_4748:
	mov	dword [esi+16],ebx
	push	_4749
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4751
	call	_brl_blitz_NullObjectError
_4751:
	cmp	dword [ebx+16],_bbNullObject
	jne	_4752
	mov	eax,ebp
	push	eax
	push	_4767
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4753
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4755
	call	_brl_blitz_NullObjectError
_4755:
	push	_bb_Frame
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_4760
	push	eax
	call	_bbGCFree
	add	esp,4
_4760:
	mov	dword [esi+16],ebx
	push	_4761
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4763
	call	_brl_blitz_NullObjectError
_4763:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_4765
	call	_brl_blitz_NullObjectError
_4765:
	push	200
	push	320
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	push	_4766
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1586
_4752:
	mov	eax,ebp
	push	eax
	push	_4770
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4769
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1586
_1586:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilsetState_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_4775
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_TilsetState
	mov	eax,dword [_bb_Gen]
	mov	eax,dword [eax+132+24]
	add	eax,1
	push	eax
	push	_4772
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	push	ebp
	push	_4774
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1589
_1589:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilsetState_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1592:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_4778
	push	eax
	call	_bbGCFree
	add	esp,4
_4778:
	mov	eax,0
	jmp	_4776
_4776:
	mov	esp,ebp
	pop	ebp
	ret
__bb_TilsetState_Loadsets:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],_bbNullObject
	mov	byte [ebp-4],0
	mov	eax,ebp
	push	eax
	push	_4810
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4779
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-12],0
	mov	ebx,33
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_4782
	call	_brl_blitz_ArrayBoundsError
_4782:
	mov	eax,dword [_bb_Gen]
	mov	edi,dword [eax+ebx*4+24]
	jmp	_4783
_231:
	mov	eax,ebp
	push	eax
	push	_4808
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4785
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_TilesetData
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	push	_4787
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_4789
	call	_brl_blitz_NullObjectError
_4789:
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_4791
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_4793
	call	_brl_blitz_NullObjectError
_4793:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_4796
	call	_brl_blitz_ArrayBoundsError
_4796:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	esi,eax
	mov	eax,dword [ebp-16]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4801
	push	eax
	call	_bbGCFree
	add	esp,4
_4801:
	mov	dword [esi+24],ebx
	push	_4802
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_4804
	call	_brl_blitz_NullObjectError
_4804:
	mov	esi,ebx
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_4807
	call	_brl_blitz_NullObjectError
_4807:
	mov	eax,dword [ebx+12]
	add	eax,1
	mov	dword [esi+12],eax
	call	dword [_bbOnDebugLeaveScope]
_229:
	add	dword [ebp-12],1
_4783:
	cmp	dword [ebp-12],edi
	jle	_231
_230:
	mov	ebx,0
	jmp	_1595
_1595:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SoundState_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_4813
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_SoundState
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	push	ebp
	push	_4812
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1598
_1598:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SoundState_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1601:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_4816
	push	eax
	call	_bbGCFree
	add	esp,4
_4816:
	mov	eax,0
	jmp	_4814
_4814:
	mov	esp,ebp
	pop	ebp
	ret
__bb_SoundState_CreateState:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	eax,ebp
	push	eax
	push	_4872
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4817
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,77
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_4820
	call	_brl_blitz_ArrayBoundsError
_4820:
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	_4818
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_4822
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-12],0
	mov	ebx,77
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_4825
	call	_brl_blitz_ArrayBoundsError
_4825:
	mov	eax,dword [_bb_Gen]
	mov	eax,dword [eax+ebx*4+24]
	sub	eax,1
	mov	edi,eax
	jmp	_4826
_234:
	mov	eax,ebp
	push	eax
	push	_4862
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4828
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4830
	call	_brl_blitz_ArrayBoundsError
_4830:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	push	_bb_TSFX
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_4835
	push	eax
	call	_bbGCFree
	add	esp,4
_4835:
	mov	dword [esi+24],ebx
	push	_4836
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_4838
	call	_brl_blitz_ArrayBoundsError
_4838:
	mov	eax,dword [ebp-8]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_4840
	call	_brl_blitz_NullObjectError
_4840:
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	mov	dword [ebp-16],eax
	push	_4842
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],1
	jne	_4843
	mov	eax,ebp
	push	eax
	push	_4850
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4844
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4846
	call	_brl_blitz_NullObjectError
_4846:
	mov	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4849
	call	_brl_blitz_NullObjectError
_4849:
	mov	eax,dword [ebx+12]
	add	eax,1
	mov	dword [esi+12],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4851
_4843:
	mov	eax,ebp
	push	eax
	push	_4861
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4852
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4854
	call	_brl_blitz_NullObjectError
_4854:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4859
	push	eax
	call	_bbGCFree
	add	esp,4
_4859:
	mov	dword [esi+8],ebx
	push	_4860
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1604
_4851:
	call	dword [_bbOnDebugLeaveScope]
_232:
	add	dword [ebp-12],1
_4826:
	cmp	dword [ebp-12],edi
	jle	_234
_233:
	push	_4864
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4866
	call	_brl_blitz_NullObjectError
_4866:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4871
	push	eax
	call	_bbGCFree
	add	esp,4
_4871:
	mov	dword [esi+8],ebx
	mov	ebx,0
	jmp	_1604
_1604:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TSFX_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_4876
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_TSFX
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	push	ebp
	push	_4875
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1607
_1607:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TSFX_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1610:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4880
	push	eax
	call	_bbGCFree
	add	esp,4
_4880:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4882
	push	eax
	call	_bbGCFree
	add	esp,4
_4882:
	mov	eax,0
	jmp	_4878
_4878:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TSFX_LoadSoundFX:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbEmptyString
	mov	eax,ebp
	push	eax
	push	_4950
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4883
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbEmptyString
	push	_4885
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4887
	call	_brl_blitz_NullObjectError
_4887:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+12],eax
	push	_4889
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4891
	call	_brl_blitz_NullObjectError
_4891:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_235
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-12],eax
	push	_4892
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4894
	call	_brl_blitz_NullObjectError
_4894:
	mov	ebx,_1
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4899
	push	eax
	call	_bbGCFree
	add	esp,4
_4899:
	mov	dword [esi+8],ebx
	push	_4900
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_236
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_4901
	mov	eax,ebp
	push	eax
	push	_4910
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4902
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4904
	call	_brl_blitz_NullObjectError
_4904:
	push	_236
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4909
	push	eax
	call	_bbGCFree
	add	esp,4
_4909:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4911
_4901:
	mov	eax,ebp
	push	eax
	push	_4936
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4912
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_237
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_4913
	mov	eax,ebp
	push	eax
	push	_4922
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4914
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4916
	call	_brl_blitz_NullObjectError
_4916:
	push	_237
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4921
	push	eax
	call	_bbGCFree
	add	esp,4
_4921:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4923
_4913:
	mov	eax,ebp
	push	eax
	push	_4935
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4924
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_238
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_4925
	mov	eax,ebp
	push	eax
	push	_4934
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4926
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4928
	call	_brl_blitz_NullObjectError
_4928:
	push	_238
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4933
	push	eax
	call	_bbGCFree
	add	esp,4
_4933:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
_4925:
	call	dword [_bbOnDebugLeaveScope]
_4923:
	call	dword [_bbOnDebugLeaveScope]
_4911:
	push	_4937
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4939
	call	_brl_blitz_NullObjectError
_4939:
	push	_1
	push	dword [ebx+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_4940
	mov	eax,ebp
	push	eax
	push	_4942
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4941
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1614
_4940:
	mov	eax,ebp
	push	eax
	push	_4948
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4944
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4946
	call	_brl_blitz_NullObjectError
_4946:
	push	dword [ebx+8]
	push	_239
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_4947
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1614
_1614:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TSong_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_4955
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_TSong
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	push	ebp
	push	_4954
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1617
_1617:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TSong_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1620:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_4959
	push	eax
	call	_bbGCFree
	add	esp,4
_4959:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_4961
	push	eax
	call	_bbGCFree
	add	esp,4
_4961:
	mov	eax,0
	jmp	_4957
_4957:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TSong_LoadSong:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbEmptyString
	mov	eax,ebp
	push	eax
	push	_5111
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4962
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbEmptyString
	push	_4964
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4966
	call	_brl_blitz_NullObjectError
_4966:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+12],eax
	push	_4968
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_4970
	call	_brl_blitz_NullObjectError
_4970:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_240
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-12],eax
	push	_4971
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4973
	call	_brl_blitz_NullObjectError
_4973:
	mov	ebx,_1
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4978
	push	eax
	call	_bbGCFree
	add	esp,4
_4978:
	mov	dword [esi+8],ebx
	push	_4979
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_236
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_4980
	mov	eax,ebp
	push	eax
	push	_4989
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4981
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4983
	call	_brl_blitz_NullObjectError
_4983:
	push	_236
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_4988
	push	eax
	call	_bbGCFree
	add	esp,4
_4988:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_4990
_4980:
	mov	eax,ebp
	push	eax
	push	_5097
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4991
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_237
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_4992
	mov	eax,ebp
	push	eax
	push	_5001
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_4993
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_4995
	call	_brl_blitz_NullObjectError
_4995:
	push	_237
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5000
	push	eax
	call	_bbGCFree
	add	esp,4
_5000:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5002
_4992:
	mov	eax,ebp
	push	eax
	push	_5096
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5003
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_241
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_5004
	mov	eax,ebp
	push	eax
	push	_5013
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5005
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5007
	call	_brl_blitz_NullObjectError
_5007:
	push	_241
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5012
	push	eax
	call	_bbGCFree
	add	esp,4
_5012:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5014
_5004:
	mov	eax,ebp
	push	eax
	push	_5095
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5015
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_242
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_5016
	mov	eax,ebp
	push	eax
	push	_5025
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5017
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5019
	call	_brl_blitz_NullObjectError
_5019:
	push	_242
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5024
	push	eax
	call	_bbGCFree
	add	esp,4
_5024:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5026
_5016:
	mov	eax,ebp
	push	eax
	push	_5094
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5027
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_243
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_5028
	mov	eax,ebp
	push	eax
	push	_5037
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5029
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5031
	call	_brl_blitz_NullObjectError
_5031:
	push	_243
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5036
	push	eax
	call	_bbGCFree
	add	esp,4
_5036:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5038
_5028:
	mov	eax,ebp
	push	eax
	push	_5093
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5039
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_244
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_5040
	mov	eax,ebp
	push	eax
	push	_5049
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5041
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5043
	call	_brl_blitz_NullObjectError
_5043:
	push	_244
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5048
	push	eax
	call	_bbGCFree
	add	esp,4
_5048:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5050
_5040:
	mov	eax,ebp
	push	eax
	push	_5092
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5051
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_245
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_5052
	mov	eax,ebp
	push	eax
	push	_5061
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5053
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5055
	call	_brl_blitz_NullObjectError
_5055:
	push	_245
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5060
	push	eax
	call	_bbGCFree
	add	esp,4
_5060:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5062
_5052:
	mov	eax,ebp
	push	eax
	push	_5091
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5063
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_246
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_5064
	mov	eax,ebp
	push	eax
	push	_5073
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5065
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5067
	call	_brl_blitz_NullObjectError
_5067:
	push	_246
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5072
	push	eax
	call	_bbGCFree
	add	esp,4
_5072:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5074
_5064:
	mov	eax,ebp
	push	eax
	push	_5090
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5075
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5077
	call	_brl_blitz_NullObjectError
_5077:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_90
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_5078
	mov	eax,ebp
	push	eax
	push	_5089
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5079
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5081
	call	_brl_blitz_NullObjectError
_5081:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5084
	call	_brl_blitz_NullObjectError
_5084:
	push	dword [esi+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_90
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5088
	push	eax
	call	_bbGCFree
	add	esp,4
_5088:
	mov	dword [ebx+8],esi
	call	dword [_bbOnDebugLeaveScope]
_5078:
	call	dword [_bbOnDebugLeaveScope]
_5074:
	call	dword [_bbOnDebugLeaveScope]
_5062:
	call	dword [_bbOnDebugLeaveScope]
_5050:
	call	dword [_bbOnDebugLeaveScope]
_5038:
	call	dword [_bbOnDebugLeaveScope]
_5026:
	call	dword [_bbOnDebugLeaveScope]
_5014:
	call	dword [_bbOnDebugLeaveScope]
_5002:
	call	dword [_bbOnDebugLeaveScope]
_4990:
	push	_5098
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5100
	call	_brl_blitz_NullObjectError
_5100:
	push	_1
	push	dword [ebx+8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_5101
	mov	eax,ebp
	push	eax
	push	_5103
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5102
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1624
_5101:
	mov	eax,ebp
	push	eax
	push	_5109
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5105
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5107
	call	_brl_blitz_NullObjectError
_5107:
	push	dword [ebx+8]
	push	_247
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_5108
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1624
_1624:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TSong_getsongname:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],_bbEmptyArray
	mov	dword [ebp-20],_bbEmptyString
	push	ebp
	push	_5139
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5113
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5115
	call	_brl_blitz_NullObjectError
_5115:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-12],eax
	push	_5117
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	mov	eax,dword [_bb_RPGLump]
	mov	eax,dword [eax]
	call	dword [eax+96]
	add	esp,4
	push	eax
	push	_5118
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-16],eax
	push	_5120
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbEmptyString
	push	_5122
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],-1
	jne	_5123
	push	ebp
	push	_5125
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5124
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_248
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1628
_5123:
	push	_5126
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_1
	push	_5127
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-8],0
	jle	_5128
	push	ebp
	push	_5130
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5129
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_249
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-20],eax
	call	dword [_bbOnDebugLeaveScope]
_5128:
	push	_5131
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5133
	call	_brl_blitz_NullObjectError
_5133:
	mov	ebx,dword [ebp-20]
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_5138
	push	eax
	call	_bbGCFree
	add	esp,4
_5138:
	mov	dword [esi+16],ebx
	mov	ebx,_bbEmptyString
	jmp	_1628
_1628:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SongState_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_5144
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_SongState
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	push	ebp
	push	_5143
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1631
_1631:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SongState_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1634:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_5147
	push	eax
	call	_bbGCFree
	add	esp,4
_5147:
	mov	eax,0
	jmp	_5145
_5145:
	mov	esp,ebp
	pop	ebp
	ret
__bb_SongState_CreateState:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	eax,ebp
	push	eax
	push	_5202
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5148
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,172
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5151
	call	_brl_blitz_ArrayBoundsError
_5151:
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	_5149
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_5153
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-12],0
	mov	ebx,172
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5156
	call	_brl_blitz_ArrayBoundsError
_5156:
	mov	eax,dword [_bb_Gen]
	mov	eax,dword [eax+ebx*4+24]
	sub	eax,1
	mov	edi,eax
	jmp	_5157
_252:
	mov	eax,ebp
	push	eax
	push	_5193
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5159
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_5161
	call	_brl_blitz_ArrayBoundsError
_5161:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	push	_bb_TSong
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_5166
	push	eax
	call	_bbGCFree
	add	esp,4
_5166:
	mov	dword [esi+24],ebx
	push	_5167
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_5169
	call	_brl_blitz_ArrayBoundsError
_5169:
	mov	eax,dword [ebp-8]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_5171
	call	_brl_blitz_NullObjectError
_5171:
	mov	eax,dword [ebp-12]
	add	eax,1
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	mov	dword [ebp-16],eax
	push	_5173
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],1
	jne	_5174
	mov	eax,ebp
	push	eax
	push	_5181
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5175
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5177
	call	_brl_blitz_NullObjectError
_5177:
	mov	esi,ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5180
	call	_brl_blitz_NullObjectError
_5180:
	mov	eax,dword [ebx+12]
	add	eax,1
	mov	dword [esi+12],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5182
_5174:
	mov	eax,ebp
	push	eax
	push	_5192
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5183
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5185
	call	_brl_blitz_NullObjectError
_5185:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5190
	push	eax
	call	_bbGCFree
	add	esp,4
_5190:
	mov	dword [esi+8],ebx
	push	_5191
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1637
_5182:
	call	dword [_bbOnDebugLeaveScope]
_250:
	add	dword [ebp-12],1
_5157:
	cmp	dword [ebp-12],edi
	jle	_252
_251:
	push	_5194
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5196
	call	_brl_blitz_NullObjectError
_5196:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_5201
	push	eax
	call	_bbGCFree
	add	esp,4
_5201:
	mov	dword [esi+8],ebx
	mov	ebx,0
	jmp	_1637
_1637:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_BackdropState_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_5206
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_BackdropState
	mov	eax,dword [_bb_Gen]
	push	dword [eax+400+24]
	push	_5203
	call	_bbArrayNew1D
	add	esp,8
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+8],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	push	ebp
	push	_5205
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1640
_1640:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_BackdropState_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_1643:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_5209
	push	eax
	call	_bbGCFree
	add	esp,4
_5209:
	mov	eax,0
	jmp	_5207
_5207:
	mov	esp,ebp
	pop	ebp
	ret
__bb_BackdropState_Loadsets:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],_bbNullObject
	mov	byte [ebp-4],0
	mov	eax,ebp
	push	eax
	push	_5248
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5210
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-12],0
	mov	ebx,100
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5213
	call	_brl_blitz_ArrayBoundsError
_5213:
	mov	eax,dword [_bb_Gen]
	mov	eax,dword [eax+ebx*4+24]
	sub	eax,1
	mov	edi,eax
	jmp	_5214
_255:
	mov	eax,ebp
	push	eax
	push	_5245
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5216
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_BackdropData
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	push	_5218
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_5220
	call	_brl_blitz_NullObjectError
_5220:
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_5222
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,1
	jne	_5223
	mov	eax,ebp
	push	eax
	push	_5241
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5224
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_5226
	call	_brl_blitz_NullObjectError
_5226:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_5229
	call	_brl_blitz_ArrayBoundsError
_5229:
	mov	eax,esi
	mov	edx,ebx
	shl	edx,2
	add	eax,edx
	mov	esi,eax
	mov	eax,dword [ebp-16]
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_5234
	push	eax
	call	_bbGCFree
	add	esp,4
_5234:
	mov	dword [esi+24],ebx
	push	_5235
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_5237
	call	_brl_blitz_NullObjectError
_5237:
	mov	esi,ebx
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_5240
	call	_brl_blitz_NullObjectError
_5240:
	mov	eax,dword [ebx+12]
	add	eax,1
	mov	dword [esi+12],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5242
_5223:
	mov	eax,ebp
	push	eax
	push	_5244
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5243
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1646
_5242:
	call	dword [_bbOnDebugLeaveScope]
_253:
	add	dword [ebp-12],1
_5214:
	cmp	dword [ebp-12],edi
	jle	_255
_254:
	mov	ebx,0
	jmp	_1646
_1646:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_BackdropData_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_5252
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_BackdropData
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	push	ebp
	push	_5251
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1649
_1649:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_BackdropData_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1652:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5255
	push	eax
	call	_bbGCFree
	add	esp,4
_5255:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5257
	push	eax
	call	_bbGCFree
	add	esp,4
_5257:
	mov	eax,0
	jmp	_5253
_5253:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_BackdropData_LoadBackdrop:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,ebp
	push	eax
	push	_5298
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5258
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5260
	call	_brl_blitz_NullObjectError
_5260:
	push	_256
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5265
	push	eax
	call	_bbGCFree
	add	esp,4
_5265:
	mov	dword [ebx+8],esi
	push	_5266
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5268
	call	_brl_blitz_NullObjectError
_5268:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5271
	call	_brl_blitz_NullObjectError
_5271:
	push	_bbNullObject
	push	dword [ebp-8]
	push	dword [ebx+8]
	call	_bb_loadmxs
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_5275
	push	eax
	call	_bbGCFree
	add	esp,4
_5275:
	mov	dword [esi+16],ebx
	push	_5276
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5278
	call	_brl_blitz_NullObjectError
_5278:
	cmp	dword [ebx+16],_bbNullObject
	jne	_5279
	mov	eax,ebp
	push	eax
	push	_5294
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5280
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5282
	call	_brl_blitz_NullObjectError
_5282:
	push	_bb_Frame
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_5287
	push	eax
	call	_bbGCFree
	add	esp,4
_5287:
	mov	dword [esi+16],ebx
	push	_5288
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5290
	call	_brl_blitz_NullObjectError
_5290:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_5292
	call	_brl_blitz_NullObjectError
_5292:
	push	200
	push	320
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	push	_5293
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1656
_5279:
	mov	eax,ebp
	push	eax
	push	_5297
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5296
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1656
_1656:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_EditorWindow_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_5315
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_EditorWindow
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+20],eax
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+24],eax
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	push	ebp
	push	_5314
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5305
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5308
	call	_brl_blitz_NullObjectError
_5308:
	push	_bbNullObject
	push	1106247680
	call	_brl_timer_CreateTimer
	add	esp,8
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5313
	push	eax
	call	_bbGCFree
	add	esp,4
_5313:
	mov	dword [ebx+16],esi
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1659
_1659:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_EditorWindow_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1662:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_5318
	push	eax
	call	_bbGCFree
	add	esp,4
_5318:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_5320
	push	eax
	call	_bbGCFree
	add	esp,4
_5320:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_5322
	push	eax
	call	_bbGCFree
	add	esp,4
_5322:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_5324
	push	eax
	call	_bbGCFree
	add	esp,4
_5324:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_5326
	push	eax
	call	_bbGCFree
	add	esp,4
_5326:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5328
	push	eax
	call	_bbGCFree
	add	esp,4
_5328:
	mov	eax,0
	jmp	_5316
_5316:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_EditorWindow_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_5369
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5329
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,8194
	je	_5332
	cmp	eax,2049
	je	_5333
	jmp	_5331
_5332:
	mov	eax,ebp
	push	eax
	push	_5337
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5334
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5336
	call	_brl_blitz_NullObjectError
_5336:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5331
_5333:
	mov	eax,ebp
	push	eax
	push	_5348
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5338
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	ebx,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5343
	call	_brl_blitz_NullObjectError
_5343:
	cmp	ebx,dword [esi+16]
	je	_5341
	jmp	_5340
_5341:
	mov	eax,ebp
	push	eax
	push	_5347
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5344
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5346
	call	_brl_blitz_NullObjectError
_5346:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5340
_5340:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5331
_5331:
	push	_5349
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5351
	call	_brl_blitz_NullObjectError
_5351:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	push	_5352
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5355
	call	_brl_blitz_NullObjectError
_5355:
	mov	edi,dword [ebx+20]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_5358
	call	_brl_blitz_NullObjectError
_5358:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	esi,eax
	jmp	_257
_259:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_5363
	call	_brl_blitz_NullObjectError
_5363:
	push	_bb_EditorWindow
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	je	_257
	mov	eax,ebp
	push	eax
	push	_5367
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5364
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_5366
	call	_brl_blitz_NullObjectError
_5366:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_257:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_5361
	call	_brl_blitz_NullObjectError
_5361:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_259
_258:
	mov	ebx,0
	jmp	_1666
_1666:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_EditorWindow_UpdateUI:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_5370
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_1670
_1670:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_EditorWindow_UpdateCanvas:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_5382
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5371
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5373
	call	_brl_blitz_NullObjectError
_5373:
	cmp	dword [ebx+12],_bbNullObject
	jne	_5374
	push	ebp
	push	_5376
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5375
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1673
_5374:
	push	_5377
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5379
	call	_brl_blitz_NullObjectError
_5379:
	push	dword [ebx+12]
	call	_maxgui_maxgui_CanvasGraphics
	add	esp,4
	push	eax
	call	_brl_graphics_SetGraphics
	add	esp,4
	push	_5380
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_max2d_Cls
	push	_5381
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
	mov	ebx,0
	jmp	_1673
_1673:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MainEditor_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_5388
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_EditorWindow_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_MainEditor
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],edx
	mov	eax,dword [ebp-4]
	mov	byte [eax+48],0
	push	ebp
	push	_5387
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1676
_1676:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MainEditor_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1679:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_5391
	push	eax
	call	_bbGCFree
	add	esp,4
_5391:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_5393
	push	eax
	call	_bbGCFree
	add	esp,4
_5393:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_5395
	push	eax
	call	_bbGCFree
	add	esp,4
_5395:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_5397
	push	eax
	call	_bbGCFree
	add	esp,4
_5397:
	mov	dword [ebx],_bb_EditorWindow
	push	ebx
	call	__bb_EditorWindow_Delete
	add	esp,4
	mov	eax,0
	jmp	_5389
_5389:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MainEditor_UpdateUI:
	push	ebp
	mov	ebp,esp
	sub	esp,120
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbEmptyArray
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbEmptyArray
	mov	dword [ebp-28],_bbNullObject
	mov	dword [ebp-32],_bbEmptyArray
	mov	dword [ebp-36],_bbNullObject
	mov	dword [ebp-40],_bbEmptyArray
	mov	dword [ebp-44],_bbNullObject
	mov	dword [ebp-48],_bbEmptyArray
	mov	dword [ebp-52],_bbNullObject
	mov	dword [ebp-56],_bbEmptyArray
	mov	dword [ebp-60],_bbNullObject
	mov	dword [ebp-64],_bbEmptyArray
	mov	dword [ebp-68],_bbNullObject
	mov	dword [ebp-72],_bbEmptyArray
	mov	dword [ebp-76],_bbNullObject
	mov	dword [ebp-80],_bbEmptyArray
	mov	dword [ebp-84],_bbNullObject
	mov	dword [ebp-88],0
	mov	dword [ebp-92],_bbNullObject
	mov	dword [ebp-96],0
	mov	dword [ebp-100],_bbEmptyString
	mov	dword [ebp-104],_bbNullObject
	mov	dword [ebp-108],_bbEmptyString
	mov	dword [ebp-112],_bbNullObject
	mov	dword [ebp-116],_bbEmptyString
	mov	dword [ebp-120],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_5939
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5398
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,16387
	je	_5401
	cmp	eax,32769
	je	_5402
	jmp	_5400
_5401:
	mov	eax,ebp
	push	eax
	push	_5414
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5403
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	ebx,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5408
	call	_brl_blitz_NullObjectError
_5408:
	cmp	ebx,dword [esi+8]
	je	_5406
	jmp	_5405
_5406:
	mov	eax,ebp
	push	eax
	push	_5413
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5409
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5411
	call	_brl_blitz_NullObjectError
_5411:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_5412
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5405
_5405:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5400
_5402:
	mov	eax,ebp
	push	eax
	push	_5938
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5415
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventData
	cmp	eax,105
	je	_5418
	cmp	eax,217
	je	_5419
	cmp	eax,108
	je	_5420
	cmp	eax,109
	je	_5421
	cmp	eax,210
	je	_5422
	cmp	eax,211
	je	_5423
	cmp	eax,212
	je	_5424
	cmp	eax,213
	je	_5425
	cmp	eax,214
	je	_5426
	cmp	eax,215
	je	_5427
	cmp	eax,216
	je	_5428
	cmp	eax,209
	je	_5429
	cmp	eax,901
	je	_5430
	cmp	eax,1000
	je	_5431
	cmp	eax,1001
	je	_5432
	cmp	eax,1002
	je	_5433
	jmp	_5417
_5418:
	mov	eax,ebp
	push	eax
	push	_5435
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5434
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5419:
	mov	eax,ebp
	push	eax
	push	_5441
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5436
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_MaptilesSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	push	_5438
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_5440
	call	_brl_blitz_NullObjectError
_5440:
	push	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5420:
	mov	eax,ebp
	push	eax
	push	_5465
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5444
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	8
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_260
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_261
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_262
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_263
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	mov	edx,_264
	inc	dword [edx+4]
	mov	dword [eax+40],edx
	mov	edx,_265
	inc	dword [edx+4]
	mov	dword [eax+44],edx
	mov	edx,_266
	inc	dword [edx+4]
	mov	dword [eax+48],edx
	mov	edx,_267
	inc	dword [edx+4]
	mov	dword [eax+52],edx
	mov	dword [ebp-16],eax
	push	_5455
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_5457
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_5459
	call	_brl_blitz_NullObjectError
_5459:
	push	dword [ebp-4]
	push	dword [ebp-16]
	push	4
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	_5460
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5462
	call	_brl_blitz_NullObjectError
_5462:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_5464
	call	_brl_blitz_NullObjectError
_5464:
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5421:
	mov	eax,ebp
	push	eax
	push	_5490
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5469
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	8
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_268
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_269
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_270
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_271
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	mov	edx,_272
	inc	dword [edx+4]
	mov	dword [eax+40],edx
	mov	edx,_273
	inc	dword [edx+4]
	mov	dword [eax+44],edx
	mov	edx,_274
	inc	dword [edx+4]
	mov	dword [eax+48],edx
	mov	edx,_275
	inc	dword [edx+4]
	mov	dword [eax+52],edx
	mov	dword [ebp-24],eax
	push	_5480
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	push	_5482
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_5484
	call	_brl_blitz_NullObjectError
_5484:
	push	dword [ebp-4]
	push	dword [ebp-24]
	push	0
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	_5485
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5487
	call	_brl_blitz_NullObjectError
_5487:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_5489
	call	_brl_blitz_NullObjectError
_5489:
	push	dword [ebp-28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5422:
	mov	eax,ebp
	push	eax
	push	_5505
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5491
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_276
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	dword [ebp-32],eax
	push	_5495
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-36],eax
	push	_5497
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_5499
	call	_brl_blitz_NullObjectError
_5499:
	push	dword [ebp-4]
	push	dword [ebp-32]
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	_5500
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5502
	call	_brl_blitz_NullObjectError
_5502:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_5504
	call	_brl_blitz_NullObjectError
_5504:
	push	dword [ebp-36]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5423:
	mov	eax,ebp
	push	eax
	push	_5520
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5506
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_276
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	dword [ebp-40],eax
	push	_5510
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-44],eax
	push	_5512
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	cmp	ebx,_bbNullObject
	jne	_5514
	call	_brl_blitz_NullObjectError
_5514:
	push	dword [ebp-4]
	push	dword [ebp-40]
	push	2
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	_5515
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5517
	call	_brl_blitz_NullObjectError
_5517:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_5519
	call	_brl_blitz_NullObjectError
_5519:
	push	dword [ebp-44]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5424:
	mov	eax,ebp
	push	eax
	push	_5535
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5521
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_276
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	dword [ebp-48],eax
	push	_5525
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-52],eax
	push	_5527
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-52]
	cmp	ebx,_bbNullObject
	jne	_5529
	call	_brl_blitz_NullObjectError
_5529:
	push	dword [ebp-4]
	push	dword [ebp-48]
	push	3
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	_5530
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5532
	call	_brl_blitz_NullObjectError
_5532:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_5534
	call	_brl_blitz_NullObjectError
_5534:
	push	dword [ebp-52]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5425:
	mov	eax,ebp
	push	eax
	push	_5552
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5536
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	3
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_277
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_278
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_279
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	dword [ebp-56],eax
	push	_5542
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-60],eax
	push	_5544
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-60]
	cmp	ebx,_bbNullObject
	jne	_5546
	call	_brl_blitz_NullObjectError
_5546:
	push	dword [ebp-4]
	push	dword [ebp-56]
	push	6
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	_5547
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5549
	call	_brl_blitz_NullObjectError
_5549:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_5551
	call	_brl_blitz_NullObjectError
_5551:
	push	dword [ebp-60]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5426:
	mov	eax,ebp
	push	eax
	push	_5568
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5553
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_280
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_281
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	dword [ebp-64],eax
	push	_5558
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-68],eax
	push	_5560
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-68]
	cmp	ebx,_bbNullObject
	jne	_5562
	call	_brl_blitz_NullObjectError
_5562:
	push	dword [ebp-4]
	push	dword [ebp-64]
	push	5
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	_5563
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5565
	call	_brl_blitz_NullObjectError
_5565:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_5567
	call	_brl_blitz_NullObjectError
_5567:
	push	dword [ebp-68]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5427:
	mov	eax,ebp
	push	eax
	push	_5598
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5569
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	16
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_282
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_283
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_284
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_285
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	mov	edx,_286
	inc	dword [edx+4]
	mov	dword [eax+40],edx
	mov	edx,_287
	inc	dword [edx+4]
	mov	dword [eax+44],edx
	mov	edx,_288
	inc	dword [edx+4]
	mov	dword [eax+48],edx
	mov	edx,_289
	inc	dword [edx+4]
	mov	dword [eax+52],edx
	mov	edx,_290
	inc	dword [edx+4]
	mov	dword [eax+56],edx
	mov	edx,_291
	inc	dword [edx+4]
	mov	dword [eax+60],edx
	mov	edx,_292
	inc	dword [edx+4]
	mov	dword [eax+64],edx
	mov	edx,_293
	inc	dword [edx+4]
	mov	dword [eax+68],edx
	mov	edx,_294
	inc	dword [edx+4]
	mov	dword [eax+72],edx
	mov	edx,_295
	inc	dword [edx+4]
	mov	dword [eax+76],edx
	mov	edx,_296
	inc	dword [edx+4]
	mov	dword [eax+80],edx
	mov	edx,_297
	inc	dword [edx+4]
	mov	dword [eax+84],edx
	mov	dword [ebp-72],eax
	push	_5588
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-76],eax
	push	_5590
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-76]
	cmp	ebx,_bbNullObject
	jne	_5592
	call	_brl_blitz_NullObjectError
_5592:
	push	dword [ebp-4]
	push	dword [ebp-72]
	push	7
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	_5593
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5595
	call	_brl_blitz_NullObjectError
_5595:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_5597
	call	_brl_blitz_NullObjectError
_5597:
	push	dword [ebp-76]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5428:
	mov	eax,ebp
	push	eax
	push	_5613
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5599
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	1
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_298
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	dword [ebp-80],eax
	push	_5603
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteSelector
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-84],eax
	push	_5605
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-84]
	cmp	ebx,_bbNullObject
	jne	_5607
	call	_brl_blitz_NullObjectError
_5607:
	push	dword [ebp-4]
	push	dword [ebp-80]
	push	8
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,16
	push	_5608
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5610
	call	_brl_blitz_NullObjectError
_5610:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_5612
	call	_brl_blitz_NullObjectError
_5612:
	push	dword [ebp-84]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5429:
	mov	eax,ebp
	push	eax
	push	_5615
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5614
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_299
	call	_brl_system_Notify
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5430:
	mov	eax,ebp
	push	eax
	push	_5893
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5616
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5618
	call	_brl_blitz_NullObjectError
_5618:
	push	_1
	push	0
	push	_301
	push	_300
	call	_brl_system_RequestFile
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+44]
	dec	dword [eax+4]
	jnz	_5623
	push	eax
	call	_bbGCFree
	add	esp,4
_5623:
	mov	dword [esi+44],ebx
	push	_5624
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5626
	call	_brl_blitz_NullObjectError
_5626:
	push	_1
	push	dword [ebx+44]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_5627
	mov	eax,ebp
	push	eax
	push	_5888
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5628
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_FileLump
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_RPGLump]
	dec	dword [eax+4]
	jnz	_5632
	push	eax
	call	_bbGCFree
	add	esp,4
_5632:
	mov	dword [_bb_RPGLump],ebx
	push	_5633
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_RPGLump]
	cmp	esi,_bbNullObject
	jne	_5635
	call	_brl_blitz_NullObjectError
_5635:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5638
	call	_brl_blitz_NullObjectError
_5638:
	mov	ebx,dword [ebx+44]
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_5642
	push	eax
	call	_bbGCFree
	add	esp,4
_5642:
	mov	dword [esi+40],ebx
	push	_5643
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_RPGLump]
	cmp	esi,_bbNullObject
	jne	_5645
	call	_brl_blitz_NullObjectError
_5645:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5647
	call	_brl_blitz_NullObjectError
_5647:
	push	dword [ebx+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,8
	push	_5648
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5650
	call	_brl_blitz_NullObjectError
_5650:
	mov	byte [ebx+48],1
	push	_5652
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_RPGLump]
	cmp	ebx,_bbNullObject
	jne	_5654
	call	_brl_blitz_NullObjectError
_5654:
	push	dword [ebx+40]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	call	_brl_filesystem_StripExt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_Game]
	dec	dword [eax+4]
	jnz	_5658
	push	eax
	call	_bbGCFree
	add	esp,4
_5658:
	mov	dword [_bb_Game],ebx
	push	_5659
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_RPGLump]
	cmp	ebx,_bbNullObject
	jne	_5661
	call	_brl_blitz_NullObjectError
_5661:
	mov	esi,dword [_bb_RPGLump]
	cmp	esi,_bbNullObject
	jne	_5663
	call	_brl_blitz_NullObjectError
_5663:
	push	_1
	push	dword [esi+40]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	dword [ebx+40]
	call	_brl_retro_Replace
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_GamePath]
	dec	dword [eax+4]
	jnz	_5667
	push	eax
	call	_bbGCFree
	add	esp,4
_5667:
	mov	dword [_bb_GamePath],ebx
	push	_5668
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5670
	call	_brl_blitz_NullObjectError
_5670:
	push	_302
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5671
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5672
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	call	_bb_loadpalette
	add	esp,4
	push	_5673
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_RPGLump]
	cmp	ebx,_bbNullObject
	jne	_5675
	call	_brl_blitz_NullObjectError
_5675:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	_5676
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5678
	call	_brl_blitz_NullObjectError
_5678:
	mov	esi,30
	mov	eax,dword [_bb_Gen]
	cmp	esi,dword [eax+20]
	jb	_5680
	call	_brl_blitz_ArrayBoundsError
_5680:
	mov	eax,dword [_bb_Gen]
	push	dword [eax+esi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_303
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5681
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5682
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,30
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5684
	call	_brl_blitz_ArrayBoundsError
_5684:
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_303
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_5685
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_WalkaboutState]
	dec	dword [eax+4]
	jnz	_5689
	push	eax
	call	_bbGCFree
	add	esp,4
_5689:
	mov	dword [_bb_WalkaboutState],ebx
	push	_5690
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_WalkaboutState]
	cmp	esi,_bbNullObject
	jne	_5692
	call	_brl_blitz_NullObjectError
_5692:
	mov	ebx,30
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5694
	call	_brl_blitz_ArrayBoundsError
_5694:
	push	0
	push	0
	push	0
	push	4
	push	10
	push	5
	push	8
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	20
	push	20
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,44
	push	_5695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5697
	call	_brl_blitz_NullObjectError
_5697:
	mov	esi,26
	mov	eax,dword [_bb_Gen]
	cmp	esi,dword [eax+20]
	jb	_5699
	call	_brl_blitz_ArrayBoundsError
_5699:
	mov	eax,dword [_bb_Gen]
	push	dword [eax+esi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_304
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5700
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_HeroState]
	dec	dword [eax+4]
	jnz	_5705
	push	eax
	call	_bbGCFree
	add	esp,4
_5705:
	mov	dword [_bb_HeroState],ebx
	push	_5706
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_HeroState]
	cmp	esi,_bbNullObject
	jne	_5708
	call	_brl_blitz_NullObjectError
_5708:
	mov	ebx,26
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5710
	call	_brl_blitz_ArrayBoundsError
_5710:
	push	0
	push	0
	push	0
	push	0
	push	8
	push	16
	push	8
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	40
	push	32
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,44
	push	_5711
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5713
	call	_brl_blitz_NullObjectError
_5713:
	mov	esi,27
	mov	eax,dword [_bb_Gen]
	cmp	esi,dword [eax+20]
	jb	_5715
	call	_brl_blitz_ArrayBoundsError
_5715:
	mov	eax,dword [_bb_Gen]
	push	dword [eax+esi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_305
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5716
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5717
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_SmallEnemyState]
	dec	dword [eax+4]
	jnz	_5721
	push	eax
	call	_bbGCFree
	add	esp,4
_5721:
	mov	dword [_bb_SmallEnemyState],ebx
	push	_5722
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_SmallEnemyState]
	cmp	esi,_bbNullObject
	jne	_5724
	call	_brl_blitz_NullObjectError
_5724:
	mov	ebx,27
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5726
	call	_brl_blitz_ArrayBoundsError
_5726:
	push	0
	push	0
	push	0
	push	1
	push	5
	push	2
	push	1
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	34
	push	34
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,44
	push	_5727
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5729
	call	_brl_blitz_NullObjectError
_5729:
	push	_306
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5730
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5731
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_MediumEnemyState]
	dec	dword [eax+4]
	jnz	_5735
	push	eax
	call	_bbGCFree
	add	esp,4
_5735:
	mov	dword [_bb_MediumEnemyState],ebx
	push	_5736
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_MediumEnemyState]
	cmp	esi,_bbNullObject
	jne	_5738
	call	_brl_blitz_NullObjectError
_5738:
	mov	ebx,28
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5740
	call	_brl_blitz_ArrayBoundsError
_5740:
	push	0
	push	0
	push	0
	push	2
	push	4
	push	4
	push	1
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	50
	push	50
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,44
	push	_5741
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5743
	call	_brl_blitz_NullObjectError
_5743:
	push	_307
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5744
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5745
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_LargeEnemyState]
	dec	dword [eax+4]
	jnz	_5749
	push	eax
	call	_bbGCFree
	add	esp,4
_5749:
	mov	dword [_bb_LargeEnemyState],ebx
	push	_5750
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_LargeEnemyState]
	cmp	esi,_bbNullObject
	jne	_5752
	call	_brl_blitz_NullObjectError
_5752:
	mov	ebx,29
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5754
	call	_brl_blitz_ArrayBoundsError
_5754:
	push	0
	push	0
	push	0
	push	3
	push	3
	push	10
	push	1
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	80
	push	80
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,44
	push	_5755
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5757
	call	_brl_blitz_NullObjectError
_5757:
	push	_308
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5758
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5759
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_AttackState]
	dec	dword [eax+4]
	jnz	_5763
	push	eax
	call	_bbGCFree
	add	esp,4
_5763:
	mov	dword [_bb_AttackState],ebx
	push	_5764
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_AttackState]
	cmp	esi,_bbNullObject
	jne	_5766
	call	_brl_blitz_NullObjectError
_5766:
	mov	ebx,32
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5768
	call	_brl_blitz_ArrayBoundsError
_5768:
	push	0
	push	0
	push	0
	push	6
	push	4
	push	12
	push	3
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	50
	push	50
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,44
	push	_5769
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5771
	call	_brl_blitz_NullObjectError
_5771:
	push	_309
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5772
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5773
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_WeaponState]
	dec	dword [eax+4]
	jnz	_5777
	push	eax
	call	_bbGCFree
	add	esp,4
_5777:
	mov	dword [_bb_WeaponState],ebx
	push	_5778
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_WeaponState]
	cmp	esi,_bbNullObject
	jne	_5780
	call	_brl_blitz_NullObjectError
_5780:
	mov	ebx,31
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5782
	call	_brl_blitz_ArrayBoundsError
_5782:
	push	0
	push	0
	push	0
	push	5
	push	6
	push	2
	push	2
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	24
	push	24
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,44
	push	_5783
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5785
	call	_brl_blitz_NullObjectError
_5785:
	push	_310
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5786
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5787
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_BoxState]
	dec	dword [eax+4]
	jnz	_5791
	push	eax
	call	_bbGCFree
	add	esp,4
_5791:
	mov	dword [_bb_BoxState],ebx
	push	_5792
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_BoxState]
	cmp	esi,_bbNullObject
	jne	_5794
	call	_brl_blitz_NullObjectError
_5794:
	mov	ebx,83
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5796
	call	_brl_blitz_ArrayBoundsError
_5796:
	push	0
	push	0
	push	0
	push	7
	push	10
	push	7
	push	16
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	16
	push	16
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,44
	push	_5797
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5799
	call	_brl_blitz_NullObjectError
_5799:
	push	_311
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5800
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5801
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_PortraitState]
	dec	dword [eax+4]
	jnz	_5805
	push	eax
	call	_bbGCFree
	add	esp,4
_5805:
	mov	dword [_bb_PortraitState],ebx
	push	_5806
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [_bb_PortraitState]
	cmp	esi,_bbNullObject
	jne	_5808
	call	_brl_blitz_NullObjectError
_5808:
	mov	ebx,84
	mov	eax,dword [_bb_Gen]
	cmp	ebx,dword [eax+20]
	jb	_5810
	call	_brl_blitz_ArrayBoundsError
_5810:
	push	0
	push	0
	push	0
	push	8
	push	4
	push	4
	push	1
	mov	eax,dword [_bb_Gen]
	push	dword [eax+ebx*4+24]
	push	50
	push	50
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,44
	push	_5811
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5813
	call	_brl_blitz_NullObjectError
_5813:
	push	_312
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5814
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5815
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_312
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_5816
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SongState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_MusicState]
	dec	dword [eax+4]
	jnz	_5820
	push	eax
	call	_bbGCFree
	add	esp,4
_5820:
	mov	dword [_bb_MusicState],ebx
	push	_5821
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MusicState]
	cmp	ebx,_bbNullObject
	jne	_5823
	call	_brl_blitz_NullObjectError
_5823:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_5824
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5826
	call	_brl_blitz_NullObjectError
_5826:
	push	_313
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5827
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5828
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_314
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_5829
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SoundState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_SFXState]
	dec	dword [eax+4]
	jnz	_5833
	push	eax
	call	_bbGCFree
	add	esp,4
_5833:
	mov	dword [_bb_SFXState],ebx
	push	_5834
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_SFXState]
	cmp	ebx,_bbNullObject
	jne	_5836
	call	_brl_blitz_NullObjectError
_5836:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_5837
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5839
	call	_brl_blitz_NullObjectError
_5839:
	push	_315
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5840
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5841
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_316
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_5842
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_TilsetState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_TileSState]
	dec	dword [eax+4]
	jnz	_5846
	push	eax
	call	_bbGCFree
	add	esp,4
_5846:
	mov	dword [_bb_TileSState],ebx
	push	_5847
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_5849
	call	_brl_blitz_NullObjectError
_5849:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_5850
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5852
	call	_brl_blitz_NullObjectError
_5852:
	push	_317
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5853
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	push	_5854
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_318
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_5855
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_BackdropState
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_BackdropSet]
	dec	dword [eax+4]
	jnz	_5859
	push	eax
	call	_bbGCFree
	add	esp,4
_5859:
	mov	dword [_bb_BackdropSet],ebx
	push	_5860
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_BackdropSet]
	cmp	ebx,_bbNullObject
	jne	_5862
	call	_brl_blitz_NullObjectError
_5862:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_5863
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-88],0
	push	_5865
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
_321:
_319:
	mov	eax,ebp
	push	eax
	push	_5886
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5866
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_MapeditState
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-92],eax
	push	_5868
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_5870
	call	_brl_blitz_NullObjectError
_5870:
	push	dword [ebp-88]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	mov	dword [ebp-96],eax
	push	_5872
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-96],-1
	je	_5873
	mov	eax,ebp
	push	eax
	push	_5881
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5874
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-92]
	push	dword [_bb_Maps]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	_5875
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5877
	call	_brl_blitz_NullObjectError
_5877:
	mov	esi,dword [ebp-92]
	cmp	esi,_bbNullObject
	jne	_5879
	call	_brl_blitz_NullObjectError
_5879:
	push	dword [esi+60]
	push	_322
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5880
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5882
_5873:
	mov	eax,ebp
	push	eax
	push	_5884
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5883
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_320
_5882:
	push	_5885
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-88],1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_321
_320:
	call	dword [_bbOnDebugLeaveScope]
_5627:
	push	_5889
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5891
	call	_brl_blitz_NullObjectError
_5891:
	push	_323
	push	dword [ebx+8]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_5892
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5431:
	mov	eax,ebp
	push	eax
	push	_5906
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5894
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_filesystem_CurrentDir
	push	eax
	push	_324
	call	_brl_system_RequestDir
	add	esp,8
	mov	dword [ebp-100],eax
	push	_5896
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_RPGXML
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-104],eax
	push	_5898
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-100]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_5899
	mov	eax,ebp
	push	eax
	push	_5905
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5900
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-104]
	cmp	esi,_bbNullObject
	jne	_5902
	call	_brl_blitz_NullObjectError
_5902:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5904
	call	_brl_blitz_NullObjectError
_5904:
	push	dword [ebx+8]
	push	dword [ebp-100]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+48]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_5899:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5432:
	mov	eax,ebp
	push	eax
	push	_5923
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5910
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_filesystem_CurrentDir
	push	eax
	push	_325
	call	_brl_system_RequestDir
	add	esp,8
	mov	dword [ebp-108],eax
	push	_5912
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_RPGXML
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-112],eax
	push	_5914
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-108]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_5915
	mov	eax,ebp
	push	eax
	push	_5922
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5916
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-108]
	push	_326
	call	_brl_filesystem_CopyDir
	add	esp,8
	push	_5917
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-112]
	cmp	ebx,_bbNullObject
	jne	_5919
	call	_brl_blitz_NullObjectError
_5919:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5921
	call	_brl_blitz_NullObjectError
_5921:
	push	dword [esi+8]
	push	_327
	push	dword [ebp-108]
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_5915:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5433:
	mov	eax,ebp
	push	eax
	push	_5937
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5924
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_filesystem_CurrentDir
	push	eax
	push	_328
	call	_brl_system_RequestDir
	add	esp,8
	mov	dword [ebp-116],eax
	push	_5926
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_RPGXML
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-120],eax
	push	_5928
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-116]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_5929
	mov	eax,ebp
	push	eax
	push	_5936
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5930
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-116]
	push	_329
	call	_brl_filesystem_CopyDir
	add	esp,8
	push	_5931
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-120]
	cmp	ebx,_bbNullObject
	jne	_5933
	call	_brl_blitz_NullObjectError
_5933:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5935
	call	_brl_blitz_NullObjectError
_5935:
	push	dword [esi+8]
	push	_327
	push	dword [ebp-116]
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_5929:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5417
_5417:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_5400
_5400:
	mov	ebx,0
	jmp	_1683
_1683:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MainEditor_Setup:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_6008
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_5940
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5942
	call	_brl_blitz_NullObjectError
_5942:
	push	525
	push	_bbNullObject
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,3
	add	eax,edx
	sar	eax,2
	push	eax
	push	0
	push	0
	push	dword [_bbAppTitle]
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_5947
	push	eax
	call	_bbGCFree
	add	esp,4
_5947:
	mov	dword [ebx+8],esi
	push	_5948
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5950
	call	_brl_blitz_NullObjectError
_5950:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5953
	call	_brl_blitz_NullObjectError
_5953:
	push	0
	push	0
	push	dword [esi+8]
	call	_maxgui_maxgui_WindowMenu
	add	esp,4
	push	eax
	push	0
	push	_330
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_5957
	push	eax
	call	_bbGCFree
	add	esp,4
_5957:
	mov	dword [ebx+32],esi
	push	_5958
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5960
	call	_brl_blitz_NullObjectError
_5960:
	push	2
	push	78
	push	dword [ebx+32]
	push	101
	push	_331
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5961
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5963
	call	_brl_blitz_NullObjectError
_5963:
	push	2
	push	79
	push	dword [ebx+32]
	push	102
	push	_332
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5964
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5966
	call	_brl_blitz_NullObjectError
_5966:
	push	2
	push	87
	push	dword [ebx+32]
	push	104
	push	_333
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5967
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5969
	call	_brl_blitz_NullObjectError
_5969:
	push	0
	push	0
	push	dword [ebx+32]
	push	0
	push	_1
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5970
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5972
	call	_brl_blitz_NullObjectError
_5972:
	push	2
	push	83
	push	dword [ebx+32]
	push	103
	push	_334
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5973
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5975
	call	_brl_blitz_NullObjectError
_5975:
	push	0
	push	0
	push	dword [ebx+32]
	push	0
	push	_1
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5976
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5978
	call	_brl_blitz_NullObjectError
_5978:
	push	2
	push	73
	push	dword [ebx+32]
	push	901
	push	_335
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5979
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5981
	call	_brl_blitz_NullObjectError
_5981:
	push	0
	push	0
	push	dword [ebx+32]
	push	0
	push	_336
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	mov	dword [ebp-8],eax
	push	_5983
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	0
	push	dword [ebp-8]
	push	1000
	push	_337
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5984
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	0
	push	dword [ebp-8]
	push	1001
	push	_338
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5985
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	0
	push	dword [ebp-8]
	push	1002
	push	_339
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5986
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5988
	call	_brl_blitz_NullObjectError
_5988:
	push	0
	push	0
	push	dword [ebx+32]
	push	0
	push	_1
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5989
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5991
	call	_brl_blitz_NullObjectError
_5991:
	push	2
	push	115
	push	dword [ebx+32]
	push	105
	push	_340
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_5992
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_5994
	call	_brl_blitz_NullObjectError
_5994:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_5997
	call	_brl_blitz_NullObjectError
_5997:
	push	0
	push	0
	push	dword [esi+8]
	call	_maxgui_maxgui_WindowMenu
	add	esp,4
	push	eax
	push	0
	push	_341
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_6001
	push	eax
	call	_bbGCFree
	add	esp,4
_6001:
	mov	dword [ebx+40],esi
	push	_6002
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6004
	call	_brl_blitz_NullObjectError
_6004:
	push	0
	push	0
	push	dword [ebx+40]
	push	209
	push	_342
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_6005
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6007
	call	_brl_blitz_NullObjectError
_6007:
	push	dword [ebx+8]
	call	_maxgui_maxgui_UpdateWindowMenu
	add	esp,4
	mov	ebx,0
	jmp	_1686
_1686:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSelector_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_6016
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_EditorWindow_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_SpriteSelector
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],edx
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],1
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],edx
	push	ebp
	push	_6015
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1689
_1689:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSelector_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1692:
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_6019
	push	eax
	call	_bbGCFree
	add	esp,4
_6019:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_6021
	push	eax
	call	_bbGCFree
	add	esp,4
_6021:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_6023
	push	eax
	call	_bbGCFree
	add	esp,4
_6023:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_6025
	push	eax
	call	_bbGCFree
	add	esp,4
_6025:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_6027
	push	eax
	call	_bbGCFree
	add	esp,4
_6027:
	mov	dword [ebx],_bb_EditorWindow
	push	ebx
	call	__bb_EditorWindow_Delete
	add	esp,4
	mov	eax,0
	jmp	_6017
_6017:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSelector_Setup:
	push	ebp
	mov	ebp,esp
	sub	esp,88
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],_bbNullObject
	mov	dword [ebp-36],_bbNullObject
	mov	dword [ebp-20],0
	mov	eax,ebp
	push	eax
	push	_6462
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6028
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6030
	call	_brl_blitz_NullObjectError
_6030:
	mov	ebx,dword [ebp-16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_6035
	push	eax
	call	_bbGCFree
	add	esp,4
_6035:
	mov	dword [esi+28],ebx
	push	_6036
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6038
	call	_brl_blitz_NullObjectError
_6038:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_6043
	push	eax
	call	_bbGCFree
	add	esp,4
_6043:
	mov	dword [esi+36],ebx
	push	_6044
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,4
	je	_6047
	cmp	eax,0
	je	_6048
	cmp	eax,1
	je	_6049
	cmp	eax,2
	je	_6050
	cmp	eax,3
	je	_6051
	cmp	eax,6
	je	_6052
	cmp	eax,5
	je	_6053
	cmp	eax,7
	je	_6054
	cmp	eax,8
	je	_6055
	jmp	_6046
_6047:
	mov	eax,ebp
	push	eax
	push	_6084
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6056
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6058
	call	_brl_blitz_NullObjectError
_6058:
	mov	ebx,dword [_bb_WalkaboutState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6063
	push	eax
	call	_bbGCFree
	add	esp,4
_6063:
	mov	dword [esi+32],ebx
	push	_6064
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6066
	call	_brl_blitz_NullObjectError
_6066:
	mov	dword [ebx+52],20
	push	_6068
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6070
	call	_brl_blitz_NullObjectError
_6070:
	mov	dword [ebx+48],20
	push	_6072
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6074
	call	_brl_blitz_NullObjectError
_6074:
	mov	ebx,_343
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_6079
	push	eax
	call	_bbGCFree
	add	esp,4
_6079:
	mov	dword [esi+40],ebx
	push	_6080
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6082
	call	_brl_blitz_NullObjectError
_6082:
	mov	dword [ebx+56],3
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6046
_6048:
	mov	eax,ebp
	push	eax
	push	_6113
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6085
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6087
	call	_brl_blitz_NullObjectError
_6087:
	mov	ebx,dword [_bb_HeroState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6092
	push	eax
	call	_bbGCFree
	add	esp,4
_6092:
	mov	dword [esi+32],ebx
	push	_6093
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6095
	call	_brl_blitz_NullObjectError
_6095:
	mov	dword [ebx+52],40
	push	_6097
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6099
	call	_brl_blitz_NullObjectError
_6099:
	mov	dword [ebx+48],32
	push	_6101
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6103
	call	_brl_blitz_NullObjectError
_6103:
	mov	ebx,_344
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_6108
	push	eax
	call	_bbGCFree
	add	esp,4
_6108:
	mov	dword [esi+40],ebx
	push	_6109
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6111
	call	_brl_blitz_NullObjectError
_6111:
	mov	dword [ebx+56],2
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6046
_6049:
	mov	eax,ebp
	push	eax
	push	_6142
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6114
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6116
	call	_brl_blitz_NullObjectError
_6116:
	mov	ebx,dword [_bb_SmallEnemyState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6121
	push	eax
	call	_bbGCFree
	add	esp,4
_6121:
	mov	dword [esi+32],ebx
	push	_6122
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6124
	call	_brl_blitz_NullObjectError
_6124:
	mov	dword [ebx+52],34
	push	_6126
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6128
	call	_brl_blitz_NullObjectError
_6128:
	mov	dword [ebx+48],34
	push	_6130
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6132
	call	_brl_blitz_NullObjectError
_6132:
	mov	ebx,_345
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_6137
	push	eax
	call	_bbGCFree
	add	esp,4
_6137:
	mov	dword [esi+40],ebx
	push	_6138
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6140
	call	_brl_blitz_NullObjectError
_6140:
	mov	dword [ebx+56],5
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6046
_6050:
	mov	eax,ebp
	push	eax
	push	_6171
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6143
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6145
	call	_brl_blitz_NullObjectError
_6145:
	mov	ebx,dword [_bb_MediumEnemyState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6150
	push	eax
	call	_bbGCFree
	add	esp,4
_6150:
	mov	dword [esi+32],ebx
	push	_6151
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6153
	call	_brl_blitz_NullObjectError
_6153:
	mov	dword [ebx+52],50
	push	_6155
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6157
	call	_brl_blitz_NullObjectError
_6157:
	mov	dword [ebx+48],50
	push	_6159
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6161
	call	_brl_blitz_NullObjectError
_6161:
	mov	ebx,_346
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_6166
	push	eax
	call	_bbGCFree
	add	esp,4
_6166:
	mov	dword [esi+40],ebx
	push	_6167
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6169
	call	_brl_blitz_NullObjectError
_6169:
	mov	dword [ebx+56],4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6046
_6051:
	mov	eax,ebp
	push	eax
	push	_6200
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6172
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6174
	call	_brl_blitz_NullObjectError
_6174:
	mov	ebx,dword [_bb_LargeEnemyState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6179
	push	eax
	call	_bbGCFree
	add	esp,4
_6179:
	mov	dword [esi+32],ebx
	push	_6180
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6182
	call	_brl_blitz_NullObjectError
_6182:
	mov	dword [ebx+52],80
	push	_6184
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6186
	call	_brl_blitz_NullObjectError
_6186:
	mov	dword [ebx+48],80
	push	_6188
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6190
	call	_brl_blitz_NullObjectError
_6190:
	mov	ebx,_347
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_6195
	push	eax
	call	_bbGCFree
	add	esp,4
_6195:
	mov	dword [esi+40],ebx
	push	_6196
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6198
	call	_brl_blitz_NullObjectError
_6198:
	mov	dword [ebx+56],3
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6046
_6052:
	mov	eax,ebp
	push	eax
	push	_6229
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6201
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6203
	call	_brl_blitz_NullObjectError
_6203:
	mov	ebx,dword [_bb_AttackState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6208
	push	eax
	call	_bbGCFree
	add	esp,4
_6208:
	mov	dword [esi+32],ebx
	push	_6209
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6211
	call	_brl_blitz_NullObjectError
_6211:
	mov	dword [ebx+52],50
	push	_6213
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6215
	call	_brl_blitz_NullObjectError
_6215:
	mov	dword [ebx+48],50
	push	_6217
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6219
	call	_brl_blitz_NullObjectError
_6219:
	mov	ebx,_348
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_6224
	push	eax
	call	_bbGCFree
	add	esp,4
_6224:
	mov	dword [esi+40],ebx
	push	_6225
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6227
	call	_brl_blitz_NullObjectError
_6227:
	mov	dword [ebx+56],4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6046
_6053:
	mov	eax,ebp
	push	eax
	push	_6258
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6230
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6232
	call	_brl_blitz_NullObjectError
_6232:
	mov	ebx,dword [_bb_WeaponState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6237
	push	eax
	call	_bbGCFree
	add	esp,4
_6237:
	mov	dword [esi+32],ebx
	push	_6238
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6240
	call	_brl_blitz_NullObjectError
_6240:
	mov	dword [ebx+52],24
	push	_6242
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6244
	call	_brl_blitz_NullObjectError
_6244:
	mov	dword [ebx+48],24
	push	_6246
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6248
	call	_brl_blitz_NullObjectError
_6248:
	mov	ebx,_349
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_6253
	push	eax
	call	_bbGCFree
	add	esp,4
_6253:
	mov	dword [esi+40],ebx
	push	_6254
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6256
	call	_brl_blitz_NullObjectError
_6256:
	mov	dword [ebx+56],6
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6046
_6054:
	mov	eax,ebp
	push	eax
	push	_6287
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6259
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6261
	call	_brl_blitz_NullObjectError
_6261:
	mov	ebx,dword [_bb_BoxState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6266
	push	eax
	call	_bbGCFree
	add	esp,4
_6266:
	mov	dword [esi+32],ebx
	push	_6267
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6269
	call	_brl_blitz_NullObjectError
_6269:
	mov	dword [ebx+52],16
	push	_6271
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6273
	call	_brl_blitz_NullObjectError
_6273:
	mov	dword [ebx+48],16
	push	_6275
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6277
	call	_brl_blitz_NullObjectError
_6277:
	mov	ebx,_350
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_6282
	push	eax
	call	_bbGCFree
	add	esp,4
_6282:
	mov	dword [esi+40],ebx
	push	_6283
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6285
	call	_brl_blitz_NullObjectError
_6285:
	mov	dword [ebx+56],3
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6046
_6055:
	mov	eax,ebp
	push	eax
	push	_6316
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6288
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6290
	call	_brl_blitz_NullObjectError
_6290:
	mov	ebx,dword [_bb_PortraitState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6295
	push	eax
	call	_bbGCFree
	add	esp,4
_6295:
	mov	dword [esi+32],ebx
	push	_6296
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6298
	call	_brl_blitz_NullObjectError
_6298:
	mov	dword [ebx+52],50
	push	_6300
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6302
	call	_brl_blitz_NullObjectError
_6302:
	mov	dword [ebx+48],50
	push	_6304
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6306
	call	_brl_blitz_NullObjectError
_6306:
	mov	ebx,_351
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_6311
	push	eax
	call	_bbGCFree
	add	esp,4
_6311:
	mov	dword [esi+40],ebx
	push	_6312
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6314
	call	_brl_blitz_NullObjectError
_6314:
	mov	dword [ebx+56],4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6046
_6046:
	push	_6317
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6319
	call	_brl_blitz_NullObjectError
_6319:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6322
	call	_brl_blitz_NullObjectError
_6322:
	push	529
	push	_bbNullObject
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	0
	push	0
	push	dword [ebx+40]
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_6326
	push	eax
	call	_bbGCFree
	add	esp,4
_6326:
	mov	dword [esi+8],ebx
	push	_6327
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6329
	call	_brl_blitz_NullObjectError
_6329:
	mov	dword [ebp-84],ebx
	mov	eax,dword [ebp-4]
	mov	dword [ebp-80],eax
	cmp	dword [ebp-80],_bbNullObject
	jne	_6332
	call	_brl_blitz_NullObjectError
_6332:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6334
	call	_brl_blitz_NullObjectError
_6334:
	mov	eax,dword [ebx+32]
	mov	dword [ebp-76],eax
	cmp	dword [ebp-76],_bbNullObject
	jne	_6336
	call	_brl_blitz_NullObjectError
_6336:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-72],eax
	cmp	dword [ebp-72],_bbNullObject
	jne	_6338
	call	_brl_blitz_NullObjectError
_6338:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_6340
	call	_brl_blitz_NullObjectError
_6340:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6342
	call	_brl_blitz_NullObjectError
_6342:
	mov	esi,dword [ebx+36]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_6345
	call	_brl_blitz_ArrayBoundsError
_6345:
	push	dword [esi+ebx*4+24]
	push	3
	push	dword [edi+8]
	mov	eax,dword [ebp-76]
	mov	eax,dword [eax+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+52]
	add	eax,10
	imul	edx,eax
	push	edx
	mov	eax,dword [ebp-80]
	push	dword [eax+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,20
	push	eax
	push	0
	push	0
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-84]
	mov	eax,dword [eax+44]
	dec	dword [eax+4]
	jnz	_6349
	push	eax
	call	_bbGCFree
	add	esp,4
_6349:
	mov	eax,dword [ebp-84]
	mov	dword [eax+44],ebx
	push	_6350
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6352
	call	_brl_blitz_NullObjectError
_6352:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6354
	call	_brl_blitz_NullObjectError
_6354:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6356
	call	_brl_blitz_NullObjectError
_6356:
	mov	esi,dword [esi+32]
	cmp	esi,_bbNullObject
	jne	_6358
	call	_brl_blitz_NullObjectError
_6358:
	mov	eax,dword [esi+8]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_353
	push	dword [ebx+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_352
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_6359
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	dword [ebp-24],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6362
	call	_brl_blitz_NullObjectError
_6362:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6364
	call	_brl_blitz_NullObjectError
_6364:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-88],eax
	jmp	_6365
_356:
	mov	eax,ebp
	push	eax
	push	_6433
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6367
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	dword [ebp-28],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6370
	call	_brl_blitz_NullObjectError
_6370:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6372
	call	_brl_blitz_NullObjectError
_6372:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_6375
	call	_brl_blitz_ArrayBoundsError
_6375:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_6377
	call	_brl_blitz_NullObjectError
_6377:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-64],eax
	jmp	_6378
_359:
	mov	eax,ebp
	push	eax
	push	_6431
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6380
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [ebp-60],eax
	cmp	dword [ebp-60],_bbNullObject
	jne	_6382
	call	_brl_blitz_NullObjectError
_6382:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-56],eax
	cmp	dword [ebp-56],_bbNullObject
	jne	_6384
	call	_brl_blitz_NullObjectError
_6384:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-52],eax
	cmp	dword [ebp-52],_bbNullObject
	jne	_6386
	call	_brl_blitz_NullObjectError
_6386:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-48],eax
	cmp	dword [ebp-48],_bbNullObject
	jne	_6388
	call	_brl_blitz_NullObjectError
_6388:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-44],eax
	cmp	dword [ebp-44],_bbNullObject
	jne	_6390
	call	_brl_blitz_NullObjectError
_6390:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-40],eax
	cmp	dword [ebp-40],_bbNullObject
	jne	_6392
	call	_brl_blitz_NullObjectError
_6392:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_6394
	call	_brl_blitz_NullObjectError
_6394:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6396
	call	_brl_blitz_NullObjectError
_6396:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6398
	call	_brl_blitz_NullObjectError
_6398:
	push	_1
	push	4
	push	dword [ebx+44]
	mov	eax,dword [edi+52]
	imul	eax,dword [esi+56]
	push	eax
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax+48]
	mov	edx,dword [ebp-40]
	imul	eax,dword [edx+56]
	push	eax
	mov	edx,dword [ebp-24]
	mov	eax,dword [ebp-52]
	mov	eax,dword [eax+52]
	mov	ecx,dword [ebp-48]
	imul	eax,dword [ecx+56]
	add	eax,10
	imul	edx,eax
	push	edx
	mov	edx,dword [ebp-28]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax+48]
	mov	ecx,dword [ebp-56]
	imul	eax,dword [ecx+56]
	add	eax,10
	imul	edx,eax
	push	edx
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	dword [ebp-32],eax
	push	_6400
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6402
	call	_brl_blitz_NullObjectError
_6402:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6404
	call	_brl_blitz_NullObjectError
_6404:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-24]
	cmp	ebx,dword [esi+20]
	jb	_6407
	call	_brl_blitz_ArrayBoundsError
_6407:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_6409
	call	_brl_blitz_NullObjectError
_6409:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-28]
	cmp	ebx,dword [esi+20]
	jb	_6412
	call	_brl_blitz_ArrayBoundsError
_6412:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_6414
	call	_brl_blitz_NullObjectError
_6414:
	push	3
	push	dword [ebx+20]
	push	dword [ebp-32]
	call	_maxgui_maxgui_SetPanelPixmap
	add	esp,12
	push	_6415
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_XYPair
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-36],eax
	push	_6417
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_6419
	call	_brl_blitz_NullObjectError
_6419:
	mov	eax,dword [ebp-24]
	mov	dword [ebx+8],eax
	push	_6421
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_6423
	call	_brl_blitz_NullObjectError
_6423:
	mov	eax,dword [ebp-28]
	mov	dword [ebx+12],eax
	push	_6425
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	push	dword [ebp-32]
	call	_maxgui_maxgui_SetGadgetExtra
	add	esp,8
	push	_6426
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6428
	call	_brl_blitz_NullObjectError
_6428:
	mov	ebx,dword [ebx+24]
	cmp	ebx,_bbNullObject
	jne	_6430
	call	_brl_blitz_NullObjectError
_6430:
	push	dword [ebp-32]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_357:
	add	dword [ebp-28],1
_6378:
	mov	eax,dword [ebp-64]
	cmp	dword [ebp-28],eax
	jle	_359
_358:
	call	dword [_bbOnDebugLeaveScope]
_354:
	add	dword [ebp-24],1
_6365:
	mov	eax,dword [ebp-88]
	cmp	dword [ebp-24],eax
	jle	_356
_355:
	push	_6434
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6436
	call	_brl_blitz_NullObjectError
_6436:
	mov	esi,dword [ebx+32]
	cmp	esi,_bbNullObject
	jne	_6438
	call	_brl_blitz_NullObjectError
_6438:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6440
	call	_brl_blitz_NullObjectError
_6440:
	mov	eax,dword [esi+8]
	mov	edx,dword [eax+20]
	mov	eax,dword [ebx+52]
	add	eax,10
	imul	edx,eax
	mov	dword [ebp-20],edx
	push	_6442
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6444
	call	_brl_blitz_NullObjectError
_6444:
	mov	dword [ebp-68],ebx
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_6447
	call	_brl_blitz_NullObjectError
_6447:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6449
	call	_brl_blitz_NullObjectError
_6449:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6451
	call	_brl_blitz_NullObjectError
_6451:
	push	2
	push	dword [ebx+8]
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	push	eax
	push	20
	push	0
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,20
	push	eax
	call	_maxgui_maxgui_CreateSlider
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-68]
	mov	eax,dword [eax+60]
	dec	dword [eax+4]
	jnz	_6455
	push	eax
	call	_bbGCFree
	add	esp,4
_6455:
	mov	eax,dword [ebp-68]
	mov	dword [eax+60],ebx
	push	_6456
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6458
	call	_brl_blitz_NullObjectError
_6458:
	push	dword [ebp-20]
	push	0
	push	dword [ebx+60]
	call	_maxgui_maxgui_SetSliderRange
	add	esp,12
	push	_6459
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6461
	call	_brl_blitz_NullObjectError
_6461:
	push	0
	push	dword [ebx+60]
	call	_maxgui_maxgui_SetSliderValue
	add	esp,8
	mov	ebx,0
	jmp	_1698
_1698:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteSelector_UpdateUI:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_6568
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6467
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,16387
	je	_6470
	jmp	_6469
_6470:
	mov	eax,ebp
	push	eax
	push	_6488
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6471
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	ebx,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6476
	call	_brl_blitz_NullObjectError
_6476:
	cmp	ebx,dword [esi+8]
	je	_6474
	jmp	_6473
_6474:
	mov	eax,ebp
	push	eax
	push	_6487
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6477
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6479
	call	_brl_blitz_NullObjectError
_6479:
	mov	ebx,dword [ebx+28]
	cmp	ebx,_bbNullObject
	jne	_6481
	call	_brl_blitz_NullObjectError
_6481:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_6483
	call	_brl_blitz_NullObjectError
_6483:
	push	dword [ebp-4]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,8
	push	_6484
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6486
	call	_brl_blitz_NullObjectError
_6486:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6473
_6473:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6469
_6469:
	push	_6489
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6492
	call	_brl_blitz_NullObjectError
_6492:
	mov	eax,dword [ebx+24]
	mov	dword [ebp-36],eax
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_6495
	call	_brl_blitz_NullObjectError
_6495:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-32],eax
	jmp	_360
_362:
	mov	ebx,dword [ebp-32]
	cmp	ebx,_bbNullObject
	jne	_6500
	call	_brl_blitz_NullObjectError
_6500:
	push	_maxgui_maxgui_TGadget
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	je	_360
	mov	eax,ebp
	push	eax
	push	_6551
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6501
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,1026
	je	_6504
	cmp	eax,8193
	je	_6505
	jmp	_6503
_6504:
	mov	eax,ebp
	push	eax
	push	_6532
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6506
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	cmp	eax,dword [ebp-12]
	je	_6509
	jmp	_6508
_6509:
	mov	eax,ebp
	push	eax
	push	_6529
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6510
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_363
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_6511
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_SpriteEditor
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	push	_6513
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_XYPair
	push	dword [ebp-12]
	call	_maxgui_maxgui_GadgetExtra
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-20],eax
	push	_6515
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-16]
	cmp	edi,_bbNullObject
	jne	_6517
	call	_brl_blitz_NullObjectError
_6517:
	mov	eax,dword [ebp-4]
	mov	dword [ebp-28],eax
	cmp	dword [ebp-28],_bbNullObject
	jne	_6519
	call	_brl_blitz_NullObjectError
_6519:
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_6521
	call	_brl_blitz_NullObjectError
_6521:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_6523
	call	_brl_blitz_NullObjectError
_6523:
	push	dword [ebp-4]
	push	dword [ebx+12]
	push	dword [esi+8]
	mov	eax,dword [ebp-28]
	push	dword [eax+32]
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+60]
	add	esp,20
	push	_6524
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6526
	call	_brl_blitz_NullObjectError
_6526:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_6528
	call	_brl_blitz_NullObjectError
_6528:
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6508
_6508:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6503
_6505:
	mov	eax,ebp
	push	eax
	push	_6550
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6533
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	ebx,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6538
	call	_brl_blitz_NullObjectError
_6538:
	cmp	ebx,dword [esi+60]
	je	_6536
	cmp	ebx,dword [ebp-12]
	je	_6539
	jmp	_6535
_6536:
	mov	eax,ebp
	push	eax
	push	_6547
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6540
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_6542
	call	_brl_blitz_NullObjectError
_6542:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6544
	call	_brl_blitz_NullObjectError
_6544:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6546
	call	_brl_blitz_NullObjectError
_6546:
	push	dword [ebx+44]
	call	_maxgui_maxgui_GadgetHeight
	add	esp,4
	push	eax
	push	dword [esi+44]
	call	_maxgui_maxgui_GadgetWidth
	add	esp,4
	push	eax
	call	_brl_eventqueue_EventData
	neg	eax
	push	eax
	push	0
	push	dword [edi+44]
	call	_maxgui_maxgui_SetGadgetShape
	add	esp,20
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6535
_6539:
	mov	eax,ebp
	push	eax
	push	_6549
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6548
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_364
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6535
_6535:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6503
_6503:
	call	dword [_bbOnDebugLeaveScope]
_360:
	mov	ebx,dword [ebp-32]
	cmp	ebx,_bbNullObject
	jne	_6498
	call	_brl_blitz_NullObjectError
_6498:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_362
_361:
	push	_6552
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6555
	call	_brl_blitz_NullObjectError
_6555:
	mov	edi,dword [ebx+20]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_6558
	call	_brl_blitz_NullObjectError
_6558:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	esi,eax
	jmp	_365
_367:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_6563
	call	_brl_blitz_NullObjectError
_6563:
	push	_bb_EditorWindow
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-24],eax
	cmp	dword [ebp-24],_bbNullObject
	je	_365
	mov	eax,ebp
	push	eax
	push	_6567
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6564
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_6566
	call	_brl_blitz_NullObjectError
_6566:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_365:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_6561
	call	_brl_blitz_NullObjectError
_6561:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_367
_366:
	mov	ebx,0
	jmp	_1702
_1702:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MaptilesSelector_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_6572
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_EditorWindow_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_MaptilesSelector
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],edx
	push	ebp
	push	_6571
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1705
_1705:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MaptilesSelector_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1708:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_6575
	push	eax
	call	_bbGCFree
	add	esp,4
_6575:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_6577
	push	eax
	call	_bbGCFree
	add	esp,4
_6577:
	mov	dword [ebx],_bb_EditorWindow
	push	ebx
	call	__bb_EditorWindow_Delete
	add	esp,4
	mov	eax,0
	jmp	_6573
_6573:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MaptilesSelector_Setup:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],0
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_6647
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6578
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6580
	call	_brl_blitz_NullObjectError
_6580:
	mov	ebx,dword [_bb_TileSState]
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_6585
	push	eax
	call	_bbGCFree
	add	esp,4
_6585:
	mov	dword [esi+36],ebx
	push	_6586
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6588
	call	_brl_blitz_NullObjectError
_6588:
	push	529
	push	_bbNullObject
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	0
	push	0
	push	_368
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_6593
	push	eax
	call	_bbGCFree
	add	esp,4
_6593:
	mov	dword [ebx+8],esi
	push	_6594
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6596
	call	_brl_blitz_NullObjectError
_6596:
	mov	dword [ebp-24],ebx
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_6599
	call	_brl_blitz_NullObjectError
_6599:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6601
	call	_brl_blitz_NullObjectError
_6601:
	mov	esi,dword [ebx+36]
	cmp	esi,_bbNullObject
	jne	_6603
	call	_brl_blitz_NullObjectError
_6603:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6605
	call	_brl_blitz_NullObjectError
_6605:
	push	_1
	push	3
	push	dword [ebx+8]
	mov	eax,dword [esi+12]
	add	eax,1
	imul	eax,200
	push	eax
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,20
	push	eax
	push	0
	push	0
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+32]
	dec	dword [eax+4]
	jnz	_6609
	push	eax
	call	_bbGCFree
	add	esp,4
_6609:
	mov	eax,dword [ebp-24]
	mov	dword [eax+32],ebx
	push	_6610
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-12],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6613
	call	_brl_blitz_NullObjectError
_6613:
	mov	ebx,dword [ebx+36]
	cmp	ebx,_bbNullObject
	jne	_6615
	call	_brl_blitz_NullObjectError
_6615:
	mov	eax,dword [ebx+12]
	sub	eax,1
	mov	edi,eax
	jmp	_6616
_371:
	mov	eax,ebp
	push	eax
	push	_6646
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6618
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6620
	call	_brl_blitz_NullObjectError
_6620:
	push	_1
	push	4
	push	dword [ebx+32]
	push	200
	push	320
	mov	eax,dword [ebp-12]
	imul	eax,200
	push	eax
	push	0
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	dword [ebp-16],eax
	push	_6622
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6624
	call	_brl_blitz_NullObjectError
_6624:
	mov	ebx,dword [ebx+36]
	cmp	ebx,_bbNullObject
	jne	_6626
	call	_brl_blitz_NullObjectError
_6626:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_6629
	call	_brl_blitz_ArrayBoundsError
_6629:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_6631
	call	_brl_blitz_NullObjectError
_6631:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_6633
	call	_brl_blitz_NullObjectError
_6633:
	push	3
	push	dword [ebx+20]
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetPanelPixmap
	add	esp,12
	push	_6634
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_XYPair
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_6636
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_6638
	call	_brl_blitz_NullObjectError
_6638:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+8],eax
	push	_6640
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetGadgetExtra
	add	esp,8
	push	_6641
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6643
	call	_brl_blitz_NullObjectError
_6643:
	mov	ebx,dword [ebx+24]
	cmp	ebx,_bbNullObject
	jne	_6645
	call	_brl_blitz_NullObjectError
_6645:
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_369:
	add	dword [ebp-12],1
_6616:
	cmp	dword [ebp-12],edi
	jle	_371
_370:
	mov	ebx,0
	jmp	_1712
_1712:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteEditor_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_6653
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_EditorWindow_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_SpriteEditor
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],edx
	push	ebp
	push	_6652
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1715
_1715:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteEditor_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_1718:
	mov	eax,dword [ebx+52]
	dec	dword [eax+4]
	jnz	_6656
	push	eax
	call	_bbGCFree
	add	esp,4
_6656:
	mov	eax,dword [ebx+48]
	dec	dword [eax+4]
	jnz	_6658
	push	eax
	call	_bbGCFree
	add	esp,4
_6658:
	mov	eax,dword [ebx+44]
	dec	dword [eax+4]
	jnz	_6660
	push	eax
	call	_bbGCFree
	add	esp,4
_6660:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_6662
	push	eax
	call	_bbGCFree
	add	esp,4
_6662:
	mov	dword [ebx],_bb_EditorWindow
	push	ebx
	call	__bb_EditorWindow_Delete
	add	esp,4
	mov	eax,0
	jmp	_6654
_6654:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteEditor_Setup:
	push	ebp
	mov	ebp,esp
	sub	esp,48
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	eax,ebp
	push	eax
	push	_6887
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6663
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6665
	call	_brl_blitz_NullObjectError
_6665:
	push	_bbNullObject
	push	1106247680
	call	_brl_timer_CreateTimer
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_6670
	push	eax
	call	_bbGCFree
	add	esp,4
_6670:
	mov	dword [esi+16],ebx
	push	_6671
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6673
	call	_brl_blitz_NullObjectError
_6673:
	mov	ebx,dword [ebp-8]
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_6678
	push	eax
	call	_bbGCFree
	add	esp,4
_6678:
	mov	dword [esi+32],ebx
	push	_6679
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6681
	call	_brl_blitz_NullObjectError
_6681:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+36],eax
	push	_6683
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6685
	call	_brl_blitz_NullObjectError
_6685:
	mov	eax,dword [ebp-16]
	mov	dword [ebx+40],eax
	push	_6687
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6689
	call	_brl_blitz_NullObjectError
_6689:
	mov	ebx,dword [ebp-20]
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_6694
	push	eax
	call	_bbGCFree
	add	esp,4
_6694:
	mov	dword [esi+28],ebx
	push	_6695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6697
	call	_brl_blitz_NullObjectError
_6697:
	push	529
	push	_bbNullObject
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	push	eax
	push	0
	push	0
	push	_372
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_6702
	push	eax
	call	_bbGCFree
	add	esp,4
_6702:
	mov	dword [ebx+8],esi
	push	_6703
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6705
	call	_brl_blitz_NullObjectError
_6705:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6707
	call	_brl_blitz_NullObjectError
_6707:
	mov	ebx,dword [ebx+8]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6710
	call	_brl_blitz_NullObjectError
_6710:
	mov	esi,dword [esi+36]
	cmp	esi,dword [ebx+20]
	jb	_6712
	call	_brl_blitz_ArrayBoundsError
_6712:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6714
	call	_brl_blitz_NullObjectError
_6714:
	mov	ebx,dword [ebx+16]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6717
	call	_brl_blitz_NullObjectError
_6717:
	mov	esi,dword [esi+40]
	cmp	esi,dword [ebx+20]
	jb	_6719
	call	_brl_blitz_ArrayBoundsError
_6719:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6721
	call	_brl_blitz_NullObjectError
_6721:
	mov	eax,dword [ebx+20]
	mov	dword [ebp-40],eax
	cmp	dword [ebp-40],_bbNullObject
	jne	_6723
	call	_brl_blitz_NullObjectError
_6723:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6725
	call	_brl_blitz_NullObjectError
_6725:
	mov	edi,dword [ebx+32]
	cmp	edi,_bbNullObject
	jne	_6727
	call	_brl_blitz_NullObjectError
_6727:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6729
	call	_brl_blitz_NullObjectError
_6729:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6731
	call	_brl_blitz_NullObjectError
_6731:
	mov	ebx,dword [ebx+8]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6734
	call	_brl_blitz_NullObjectError
_6734:
	mov	esi,dword [esi+36]
	cmp	esi,dword [ebx+20]
	jb	_6736
	call	_brl_blitz_ArrayBoundsError
_6736:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6738
	call	_brl_blitz_NullObjectError
_6738:
	mov	ebx,dword [ebx+16]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6741
	call	_brl_blitz_NullObjectError
_6741:
	mov	esi,dword [esi+40]
	cmp	esi,dword [ebx+20]
	jb	_6743
	call	_brl_blitz_ArrayBoundsError
_6743:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6745
	call	_brl_blitz_NullObjectError
_6745:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_6747
	call	_brl_blitz_NullObjectError
_6747:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6749
	call	_brl_blitz_NullObjectError
_6749:
	mov	esi,dword [esi+32]
	cmp	esi,_bbNullObject
	jne	_6751
	call	_brl_blitz_NullObjectError
_6751:
	mov	eax,dword [ebx+16]
	imul	eax,dword [esi+84]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_374
	mov	eax,dword [ebp-40]
	mov	eax,dword [eax+12]
	imul	eax,dword [edi+84]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_373
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_6752
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6754
	call	_brl_blitz_NullObjectError
_6754:
	mov	dword [ebp-48],ebx
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6757
	call	_brl_blitz_NullObjectError
_6757:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6759
	call	_brl_blitz_NullObjectError
_6759:
	mov	ebx,dword [ebx+8]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6762
	call	_brl_blitz_NullObjectError
_6762:
	mov	esi,dword [esi+36]
	cmp	esi,dword [ebx+20]
	jb	_6764
	call	_brl_blitz_ArrayBoundsError
_6764:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6766
	call	_brl_blitz_NullObjectError
_6766:
	mov	ebx,dword [ebx+16]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6769
	call	_brl_blitz_NullObjectError
_6769:
	mov	esi,dword [esi+40]
	cmp	esi,dword [ebx+20]
	jb	_6771
	call	_brl_blitz_ArrayBoundsError
_6771:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6773
	call	_brl_blitz_NullObjectError
_6773:
	mov	eax,dword [ebx+20]
	mov	dword [ebp-44],eax
	cmp	dword [ebp-44],_bbNullObject
	jne	_6775
	call	_brl_blitz_NullObjectError
_6775:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6777
	call	_brl_blitz_NullObjectError
_6777:
	mov	eax,dword [ebx+32]
	mov	dword [ebp-36],eax
	cmp	dword [ebp-36],_bbNullObject
	jne	_6779
	call	_brl_blitz_NullObjectError
_6779:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6781
	call	_brl_blitz_NullObjectError
_6781:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6783
	call	_brl_blitz_NullObjectError
_6783:
	mov	ebx,dword [ebx+8]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6786
	call	_brl_blitz_NullObjectError
_6786:
	mov	esi,dword [esi+36]
	cmp	esi,dword [ebx+20]
	jb	_6788
	call	_brl_blitz_ArrayBoundsError
_6788:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6790
	call	_brl_blitz_NullObjectError
_6790:
	mov	ebx,dword [ebx+16]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6793
	call	_brl_blitz_NullObjectError
_6793:
	mov	esi,dword [esi+40]
	cmp	esi,dword [ebx+20]
	jb	_6795
	call	_brl_blitz_ArrayBoundsError
_6795:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6797
	call	_brl_blitz_NullObjectError
_6797:
	mov	edi,dword [ebx+20]
	cmp	edi,_bbNullObject
	jne	_6799
	call	_brl_blitz_NullObjectError
_6799:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6801
	call	_brl_blitz_NullObjectError
_6801:
	mov	esi,dword [ebx+32]
	cmp	esi,_bbNullObject
	jne	_6803
	call	_brl_blitz_NullObjectError
_6803:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6805
	call	_brl_blitz_NullObjectError
_6805:
	push	0
	push	dword [ebx+8]
	mov	eax,dword [edi+16]
	imul	eax,dword [esi+84]
	push	eax
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax+12]
	mov	edx,dword [ebp-36]
	imul	eax,dword [edx+84]
	push	eax
	push	30
	push	0
	call	_maxgui_maxgui_CreateCanvas
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-48]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_6809
	push	eax
	call	_bbGCFree
	add	esp,4
_6809:
	mov	eax,dword [ebp-48]
	mov	dword [eax+12],ebx
	push	_6810
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6812
	call	_brl_blitz_NullObjectError
_6812:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6815
	call	_brl_blitz_NullObjectError
_6815:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6817
	call	_brl_blitz_NullObjectError
_6817:
	push	0
	push	dword [ebx+8]
	push	30
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	0
	push	0
	push	_375
	call	_maxgui_maxgui_CreateToolbar
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+52]
	dec	dword [eax+4]
	jnz	_6821
	push	eax
	call	_bbGCFree
	add	esp,4
_6821:
	mov	dword [edi+52],ebx
	push	_6822
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6824
	call	_brl_blitz_NullObjectError
_6824:
	push	5
	push	_819
	call	_bbArrayNew1D
	add	esp,8
	mov	edx,_376
	inc	dword [edx+4]
	mov	dword [eax+24],edx
	mov	edx,_377
	inc	dword [edx+4]
	mov	dword [eax+28],edx
	mov	edx,_378
	inc	dword [edx+4]
	mov	dword [eax+32],edx
	mov	edx,_379
	inc	dword [edx+4]
	mov	dword [eax+36],edx
	mov	edx,_380
	inc	dword [edx+4]
	mov	dword [eax+40],edx
	push	eax
	push	dword [ebx+52]
	call	_maxgui_maxgui_SetToolbarTips
	add	esp,8
	push	_6831
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6833
	call	_brl_blitz_NullObjectError
_6833:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6836
	call	_brl_blitz_NullObjectError
_6836:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6838
	call	_brl_blitz_NullObjectError
_6838:
	push	_1
	push	1
	push	dword [ebx+8]
	push	128
	push	128
	push	30
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,144
	push	eax
	call	_maxgui_maxgui_CreatePanel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+44]
	dec	dword [eax+4]
	jnz	_6842
	push	eax
	call	_bbGCFree
	add	esp,4
_6842:
	mov	dword [edi+44],ebx
	push	_6843
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6845
	call	_brl_blitz_NullObjectError
_6845:
	push	4
	push	6
	push	16
	push	16
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+48]
	dec	dword [eax+4]
	jnz	_6850
	push	eax
	call	_bbGCFree
	add	esp,4
_6850:
	mov	dword [esi+48],ebx
	push	_6851
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	push	_6853
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_6855
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	mov	dword [ebp-32],0
	jmp	_6857
_383:
	mov	eax,ebp
	push	eax
	push	_6881
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6858
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_6860
	call	_brl_blitz_NullObjectError
_6860:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6862
	call	_brl_blitz_NullObjectError
_6862:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6864
	call	_brl_blitz_NullObjectError
_6864:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-12]
	cmp	ebx,dword [esi+20]
	jb	_6867
	call	_brl_blitz_ArrayBoundsError
_6867:
	mov	ebx,dword [esi+ebx*4+24]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_6869
	call	_brl_blitz_ArrayBoundsError
_6869:
	mov	eax,dword [_bb_DefPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_6871
	call	_brl_blitz_NullObjectError
_6871:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-32]
	cmp	ebx,dword [esi+20]
	jb	_6874
	call	_brl_blitz_ArrayBoundsError
_6874:
	push	dword [esi+ebx*4+24]
	push	dword [ebp-28]
	push	dword [ebp-24]
	push	dword [edi+48]
	call	_brl_pixmap_WritePixel
	add	esp,16
	push	_6875
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-24],1
	push	_6876
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-24],16
	jl	_6877
	mov	eax,ebp
	push	eax
	push	_6880
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6878
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-28],1
	push	_6879
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	call	dword [_bbOnDebugLeaveScope]
_6877:
	call	dword [_bbOnDebugLeaveScope]
_381:
	add	dword [ebp-32],1
_6857:
	cmp	dword [ebp-32],255
	jle	_383
_382:
	push	_6882
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6884
	call	_brl_blitz_NullObjectError
_6884:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6886
	call	_brl_blitz_NullObjectError
_6886:
	push	3
	push	dword [ebx+48]
	push	dword [esi+44]
	call	_maxgui_maxgui_SetPanelPixmap
	add	esp,12
	mov	ebx,0
	jmp	_1725
_1725:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteEditor_UpdateUI:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_6927
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6890
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,16387
	je	_6893
	cmp	eax,8194
	je	_6894
	cmp	eax,2049
	je	_6895
	jmp	_6892
_6893:
	push	ebp
	push	_6911
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6896
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	ebx,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6901
	call	_brl_blitz_NullObjectError
_6901:
	cmp	ebx,dword [esi+8]
	je	_6899
	jmp	_6898
_6899:
	push	ebp
	push	_6910
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6902
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6904
	call	_brl_blitz_NullObjectError
_6904:
	push	dword [ebx+8]
	call	_maxgui_maxgui_FreeGadget
	add	esp,4
	push	_6905
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6907
	call	_brl_blitz_NullObjectError
_6907:
	mov	ebx,dword [ebx+28]
	cmp	ebx,_bbNullObject
	jne	_6909
	call	_brl_blitz_NullObjectError
_6909:
	push	dword [ebp-4]
	push	dword [ebx+20]
	call	_brl_linkedlist_ListRemove
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6898
_6898:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6892
_6894:
	push	ebp
	push	_6915
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6912
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6914
	call	_brl_blitz_NullObjectError
_6914:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6892
_6895:
	push	ebp
	push	_6926
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6916
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	ebx,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6921
	call	_brl_blitz_NullObjectError
_6921:
	cmp	ebx,dword [esi+16]
	je	_6919
	jmp	_6918
_6919:
	push	ebp
	push	_6925
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6922
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6924
	call	_brl_blitz_NullObjectError
_6924:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6918
_6918:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_6892
_6892:
	mov	ebx,0
	jmp	_1729
_1729:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_SpriteEditor_UpdateCanvas:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	dword [ebp-20],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_7033
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6928
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6930
	call	_brl_blitz_NullObjectError
_6930:
	push	dword [ebx+12]
	call	_maxgui_maxgui_CanvasGraphics
	add	esp,4
	push	eax
	call	_brl_graphics_SetGraphics
	add	esp,4
	push	_6931
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_max2d_Cls
	push	_6932
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	3
	call	_brl_max2d_SetBlend
	add	esp,4
	push	_6933
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],0
	mov	dword [ebp-8],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6936
	call	_brl_blitz_NullObjectError
_6936:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6938
	call	_brl_blitz_NullObjectError
_6938:
	mov	ebx,dword [ebx+8]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6941
	call	_brl_blitz_NullObjectError
_6941:
	mov	esi,dword [esi+36]
	cmp	esi,dword [ebx+20]
	jb	_6943
	call	_brl_blitz_ArrayBoundsError
_6943:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6945
	call	_brl_blitz_NullObjectError
_6945:
	mov	ebx,dword [ebx+16]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6948
	call	_brl_blitz_NullObjectError
_6948:
	mov	esi,dword [esi+40]
	cmp	esi,dword [ebx+20]
	jb	_6950
	call	_brl_blitz_ArrayBoundsError
_6950:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6952
	call	_brl_blitz_NullObjectError
_6952:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_6954
	call	_brl_blitz_NullObjectError
_6954:
	mov	eax,dword [ebx+16]
	sub	eax,1
	mov	dword [ebp-32],eax
	jmp	_6955
_386:
	mov	eax,ebp
	push	eax
	push	_7031
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6957
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	mov	dword [ebp-12],0
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6960
	call	_brl_blitz_NullObjectError
_6960:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6962
	call	_brl_blitz_NullObjectError
_6962:
	mov	ebx,dword [ebx+8]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6965
	call	_brl_blitz_NullObjectError
_6965:
	mov	esi,dword [esi+36]
	cmp	esi,dword [ebx+20]
	jb	_6967
	call	_brl_blitz_ArrayBoundsError
_6967:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6969
	call	_brl_blitz_NullObjectError
_6969:
	mov	ebx,dword [ebx+16]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6972
	call	_brl_blitz_NullObjectError
_6972:
	mov	esi,dword [esi+40]
	cmp	esi,dword [ebx+20]
	jb	_6974
	call	_brl_blitz_ArrayBoundsError
_6974:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6976
	call	_brl_blitz_NullObjectError
_6976:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_6978
	call	_brl_blitz_NullObjectError
_6978:
	mov	eax,dword [ebx+12]
	sub	eax,1
	mov	dword [ebp-28],eax
	jmp	_6979
_389:
	mov	eax,ebp
	push	eax
	push	_7029
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_6981
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_6983
	call	_brl_blitz_NullObjectError
_6983:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_6985
	call	_brl_blitz_NullObjectError
_6985:
	mov	ebx,dword [ebx+8]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6988
	call	_brl_blitz_NullObjectError
_6988:
	mov	esi,dword [esi+36]
	cmp	esi,dword [ebx+20]
	jb	_6990
	call	_brl_blitz_ArrayBoundsError
_6990:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6992
	call	_brl_blitz_NullObjectError
_6992:
	mov	ebx,dword [ebx+16]
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_6995
	call	_brl_blitz_NullObjectError
_6995:
	mov	esi,dword [esi+40]
	cmp	esi,dword [ebx+20]
	jb	_6997
	call	_brl_blitz_ArrayBoundsError
_6997:
	mov	ebx,dword [ebx+esi*4+24]
	cmp	ebx,_bbNullObject
	jne	_6999
	call	_brl_blitz_NullObjectError
_6999:
	mov	ebx,dword [ebx+20]
	cmp	ebx,_bbNullObject
	jne	_7001
	call	_brl_blitz_NullObjectError
_7001:
	push	dword [ebp-8]
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,12
	mov	dword [ebp-16],eax
	push	_7003
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_bb_IntToRGBA
	add	esp,4
	mov	dword [ebp-20],eax
	push	_7005
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,0
	mov	eax,dword [ebp-20]
	cmp	edi,dword [eax+20]
	jb	_7007
	call	_brl_blitz_ArrayBoundsError
_7007:
	mov	esi,1
	mov	eax,dword [ebp-20]
	cmp	esi,dword [eax+20]
	jb	_7009
	call	_brl_blitz_ArrayBoundsError
_7009:
	mov	ebx,2
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_7011
	call	_brl_blitz_ArrayBoundsError
_7011:
	mov	eax,dword [ebp-20]
	push	dword [eax+ebx*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+esi*4+24]
	mov	eax,dword [ebp-20]
	push	dword [eax+edi*4+24]
	call	_brl_max2d_SetColor
	add	esp,12
	push	_7012
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_7014
	call	_brl_blitz_NullObjectError
_7014:
	mov	eax,dword [ebx+32]
	mov	dword [ebp-24],eax
	cmp	dword [ebp-24],_bbNullObject
	jne	_7016
	call	_brl_blitz_NullObjectError
_7016:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_7018
	call	_brl_blitz_NullObjectError
_7018:
	mov	edi,dword [ebx+32]
	cmp	edi,_bbNullObject
	jne	_7020
	call	_brl_blitz_NullObjectError
_7020:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_7022
	call	_brl_blitz_NullObjectError
_7022:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_7024
	call	_brl_blitz_NullObjectError
_7024:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_7026
	call	_brl_blitz_NullObjectError
_7026:
	mov	esi,dword [esi+32]
	cmp	esi,_bbNullObject
	jne	_7028
	call	_brl_blitz_NullObjectError
_7028:
	mov	eax,dword [esi+84]
	mov	dword [ebp+-36],eax
	fild	dword [ebp+-36]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebx+84]
	mov	dword [ebp+-36],eax
	fild	dword [ebp+-36]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-8]
	imul	eax,dword [edi+84]
	mov	dword [ebp+-36],eax
	fild	dword [ebp+-36]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-12]
	mov	edx,dword [ebp-24]
	imul	eax,dword [edx+84]
	mov	dword [ebp+-36],eax
	fild	dword [ebp+-36]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawRect
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_387:
	add	dword [ebp-12],1
_6979:
	mov	eax,dword [ebp-28]
	cmp	dword [ebp-12],eax
	jle	_389
_388:
	call	dword [_bbOnDebugLeaveScope]
_384:
	add	dword [ebp-8],1
_6955:
	mov	eax,dword [ebp-32]
	cmp	dword [ebp-8],eax
	jle	_386
_385:
	push	_7032
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
	mov	ebx,0
	jmp	_1732
_1732:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_loaddefaultpals:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-16],eax
	mov	word [ebp-4],0
	mov	dword [ebp-20],_bbEmptyString
	mov	dword [ebp-24],_bbEmptyArray
	mov	dword [ebp-28],_bbNullObject
	mov	dword [ebp-32],0
	mov	eax,ebp
	push	eax
	push	_7118
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7034
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	word [ebp-4],0
	push	_7037
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_394
	push	dword [ebp-8]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_393
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-20],eax
	push	_7039
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	16
	push	_7040
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-24],eax
	push	_7042
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_7043
	mov	eax,ebp
	push	eax
	push	_7115
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7044
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],_bbNullObject
	push	_7046
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-28],eax
	push	_7047
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	mov	dword [ebp-32],0
	mov	edi,dword [ebp-16]
	jmp	_7049
_397:
	mov	eax,ebp
	push	eax
	push	_7113
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7051
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	je	_7052
	mov	eax,ebp
	push	eax
	push	_7055
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7053
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_7054
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1737
_7052:
	push	_7056
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-4],ax
	push	_7057
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_7059
	call	_brl_blitz_ArrayBoundsError
_7059:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	movzx	edx,word [ebp-4]
	mov	edx,edx
	mov	dword [eax+24],edx
	push	_7061
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_7063
	call	_brl_blitz_ArrayBoundsError
_7063:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_7065
	call	_brl_blitz_ArrayBoundsError
_7065:
	mov	eax,dword [_bb_DefPalette]
	cmp	dword [eax+ebx*4+24],_bbNullObject
	jne	_7066
	mov	eax,ebp
	push	eax
	push	_7077
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7067
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_7069
	call	_brl_blitz_ArrayBoundsError
_7069:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_7071
	call	_brl_blitz_ArrayBoundsError
_7071:
	mov	eax,dword [_bb_DefPalette]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	push	_bb_Palette256
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_7076
	push	eax
	call	_bbGCFree
	add	esp,4
_7076:
	mov	dword [esi+24],ebx
	call	dword [_bbOnDebugLeaveScope]
_7066:
	push	_7078
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_7080
	call	_brl_blitz_ArrayBoundsError
_7080:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_7082
	call	_brl_blitz_ArrayBoundsError
_7082:
	mov	eax,dword [_bb_DefPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7084
	call	_brl_blitz_NullObjectError
_7084:
	movzx	eax,byte [ebx+8]
	mov	eax,eax
	cmp	eax,0
	jne	_7085
	mov	eax,ebp
	push	eax
	push	_7112
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7086
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_7088
	call	_brl_blitz_ArrayBoundsError
_7088:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_7090
	call	_brl_blitz_ArrayBoundsError
_7090:
	mov	eax,dword [_bb_DefPalette]
	mov	esi,dword [eax+ebx*4+24]
	cmp	esi,_bbNullObject
	jne	_7092
	call	_brl_blitz_NullObjectError
_7092:
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_7094
	call	_brl_blitz_ArrayBoundsError
_7094:
	push	0
	push	-1
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	push	0
	push	dword [esi+12]
	call	_bb_getpal16
	add	esp,20
	push	_7095
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_7097
	call	_brl_blitz_ArrayBoundsError
_7097:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_7099
	call	_brl_blitz_ArrayBoundsError
_7099:
	mov	eax,dword [_bb_DefPalette]
	mov	esi,dword [eax+ebx*4+24]
	cmp	esi,_bbNullObject
	jne	_7101
	call	_brl_blitz_NullObjectError
_7101:
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_7103
	call	_brl_blitz_ArrayBoundsError
_7103:
	push	0
	push	-1
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	push	1
	push	dword [esi+12]
	call	_bb_getpal16
	add	esp,20
	push	_7104
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_7106
	call	_brl_blitz_ArrayBoundsError
_7106:
	mov	eax,dword [ebp-12]
	mov	ebx,dword [eax+ebx*4+24]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_7108
	call	_brl_blitz_ArrayBoundsError
_7108:
	mov	eax,dword [_bb_DefPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7110
	call	_brl_blitz_NullObjectError
_7110:
	mov	byte [ebx+8],1
	call	dword [_bbOnDebugLeaveScope]
_7085:
	call	dword [_bbOnDebugLeaveScope]
_395:
	add	dword [ebp-32],1
_7049:
	cmp	dword [ebp-32],edi
	jle	_397
_396:
	push	_7114
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_brl_filesystem_CloseFile
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_7116
_7043:
	mov	eax,ebp
	push	eax
	push	_7117
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_7116:
	mov	ebx,0
	jmp	_1737
_1737:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_Palette256_new_from_buffer:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	push	ebp
	push	_7152
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7121
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Palette256
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	push	_7123
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	push	_7125
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	jmp	_7127
_400:
	push	ebp
	push	_7150
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7128
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	add	eax,dword [ebp-20]
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	mov	ebx,eax
	mov	eax,dword [ebp-4]
	cmp	ebx,dword [eax+20]
	jb	_7130
	call	_brl_blitz_ArrayBoundsError
_7130:
	mov	eax,dword [ebp-4]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-16],eax
	push	_7131
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ecx,2
	mov	eax,dword [ebp-8]
	add	eax,dword [ebp-20]
	cdq
	idiv	ecx
	cmp	edx,1
	jne	_7132
	push	ebp
	push	_7140
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7133
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_7135
	call	_brl_blitz_NullObjectError
_7135:
	mov	ebx,dword [ebx+12]
	mov	esi,dword [ebp-20]
	cmp	esi,dword [ebx+20]
	jb	_7138
	call	_brl_blitz_ArrayBoundsError
_7138:
	shl	esi,2
	add	ebx,esi
	mov	eax,dword [ebp-16]
	and	eax,65280
	shr	eax,8
	mov	dword [ebx+24],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_7141
_7132:
	push	ebp
	push	_7149
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7142
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_7144
	call	_brl_blitz_NullObjectError
_7144:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-20]
	cmp	ebx,dword [esi+20]
	jb	_7147
	call	_brl_blitz_ArrayBoundsError
_7147:
	shl	ebx,2
	add	esi,ebx
	mov	eax,dword [ebp-16]
	and	eax,255
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
_7141:
	call	dword [_bbOnDebugLeaveScope]
_398:
	add	dword [ebp-20],1
_7127:
	cmp	dword [ebp-20],15
	jle	_400
_399:
	push	_7151
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	jmp	_1741
_1741:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_changepal:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	push	ebp
	push	_7156
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7155
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	-1
	push	dword [ebp-4]
	push	dword [ebp-16]
	push	dword [ebp-12]
	call	_bb_getpal16
	add	esp,20
	mov	ebx,0
	jmp	_1747
_1747:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_getpal16:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	mov	dword [ebp-24],_bbEmptyArray
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_7262
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7161
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	8
	push	_7162
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-24],eax
	push	_7164
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	push	_7166
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	push	_7168
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [_bb_RPGLump],_bbNullObject
	jne	_7169
	mov	eax,ebp
	push	eax
	push	_7171
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7170
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1754
_7169:
	push	_7172
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_RPGLump]
	cmp	ebx,_bbNullObject
	jne	_7174
	call	_brl_blitz_NullObjectError
_7174:
	push	1
	push	0
	push	8
	push	_401
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	push	eax
	push	dword [ebp-24]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,24
	push	_7175
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-24]
	cmp	ebx,dword [eax+20]
	jb	_7177
	call	_brl_blitz_ArrayBoundsError
_7177:
	mov	eax,dword [ebp-24]
	cmp	dword [eax+ebx*4+24],4444
	jne	_7178
	mov	eax,ebp
	push	eax
	push	_7242
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7179
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-24]
	cmp	ebx,dword [eax+20]
	jb	_7181
	call	_brl_blitz_ArrayBoundsError
_7181:
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+ebx*4+24]
	cmp	eax,dword [ebp-12]
	setge	al
	movzx	eax,al
	cmp	eax,0
	je	_7182
	mov	eax,dword [ebp-12]
	cmp	eax,0
	setge	al
	movzx	eax,al
_7182:
	cmp	eax,0
	je	_7184
	mov	eax,ebp
	push	eax
	push	_7218
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7185
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_RPGLump]
	cmp	ebx,_bbNullObject
	jne	_7187
	call	_brl_blitz_NullObjectError
_7187:
	push	1
	mov	eax,dword [ebp-12]
	add	eax,1
	push	eax
	push	8
	push	_401
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	push	eax
	push	dword [ebp-24]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,24
	push	_7188
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	jmp	_7189
_404:
	mov	eax,ebp
	push	eax
	push	_7216
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7190
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	shl	ebx,1
	add	ebx,1
	mov	eax,dword [ebp-4]
	cmp	ebx,dword [eax+20]
	jb	_7192
	call	_brl_blitz_ArrayBoundsError
_7192:
	mov	eax,dword [ebp-4]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	ebx,0
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_7195
	call	_brl_blitz_ArrayBoundsError
_7195:
	mov	eax,dword [_bb_MasterPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7197
	call	_brl_blitz_NullObjectError
_7197:
	mov	ebx,dword [ebx+12]
	mov	esi,dword [ebp-32]
	mov	eax,dword [ebp-24]
	cmp	esi,dword [eax+20]
	jb	_7200
	call	_brl_blitz_ArrayBoundsError
_7200:
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+esi*4+24]
	and	eax,65280
	shr	eax,8
	mov	esi,eax
	cmp	esi,dword [ebx+20]
	jb	_7202
	call	_brl_blitz_ArrayBoundsError
_7202:
	mov	eax,dword [ebx+esi*4+24]
	mov	dword [edi+24],eax
	push	_7203
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	shl	ebx,1
	mov	eax,dword [ebp-4]
	cmp	ebx,dword [eax+20]
	jb	_7205
	call	_brl_blitz_ArrayBoundsError
_7205:
	mov	eax,dword [ebp-4]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	ebx,0
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_7208
	call	_brl_blitz_ArrayBoundsError
_7208:
	mov	eax,dword [_bb_MasterPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7210
	call	_brl_blitz_NullObjectError
_7210:
	mov	ebx,dword [ebx+12]
	mov	esi,dword [ebp-32]
	mov	eax,dword [ebp-24]
	cmp	esi,dword [eax+20]
	jb	_7213
	call	_brl_blitz_ArrayBoundsError
_7213:
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+esi*4+24]
	and	eax,255
	mov	esi,eax
	cmp	esi,dword [ebx+20]
	jb	_7215
	call	_brl_blitz_ArrayBoundsError
_7215:
	mov	eax,dword [ebx+esi*4+24]
	mov	dword [edi+24],eax
	call	dword [_bbOnDebugLeaveScope]
_402:
	add	dword [ebp-32],1
_7189:
	cmp	dword [ebp-32],7
	jle	_404
_403:
	push	_7217
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1754
_7184:
	mov	eax,ebp
	push	eax
	push	_7230
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7220
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],-1
	jne	_7221
	mov	eax,ebp
	push	eax
	push	_7229
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7222
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],0
	jl	_7223
	mov	eax,ebp
	push	eax
	push	_7228
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7224
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-28],-1
	jle	_7225
	mov	eax,ebp
	push	eax
	push	_7227
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7226
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1754
_7225:
	call	dword [_bbOnDebugLeaveScope]
_7223:
	call	dword [_bbOnDebugLeaveScope]
_7221:
	call	dword [_bbOnDebugLeaveScope]
_7219:
	push	_7231
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_405
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7232
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	jmp	_7233
_408:
	mov	eax,ebp
	push	eax
	push	_7241
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7234
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	shl	ebx,3
	add	ebx,dword [ebp-32]
	mov	eax,dword [ebp-4]
	cmp	ebx,dword [eax+20]
	jb	_7236
	call	_brl_blitz_ArrayBoundsError
_7236:
	mov	eax,dword [ebp-4]
	shl	ebx,2
	add	eax,ebx
	mov	dword [eax+24],0
	push	_7238
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-24]
	cmp	ebx,dword [eax+20]
	jb	_7240
	call	_brl_blitz_ArrayBoundsError
_7240:
	mov	eax,dword [ebp-8]
	shl	eax,3
	add	eax,dword [ebp-32]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_410
	mov	eax,dword [ebp-24]
	push	dword [eax+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_409
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_406:
	add	dword [ebp-32],1
_7233:
	cmp	dword [ebp-32],7
	jle	_408
_407:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_7243
_7178:
	mov	eax,ebp
	push	eax
	push	_7260
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7244
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_411
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7245
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	800
	push	_7246
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-36],eax
	push	_7248
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_RPGLump]
	cmp	ebx,_bbNullObject
	jne	_7250
	call	_brl_blitz_NullObjectError
_7250:
	push	_412
	push	dword [ebp-36]
	push	_401
	push	dword [_bb_Game]
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,16
	push	_7251
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	jmp	_7252
_415:
	mov	eax,ebp
	push	eax
	push	_7259
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7253
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	shl	ebx,3
	add	ebx,dword [ebp-32]
	mov	eax,dword [ebp-4]
	cmp	ebx,dword [eax+20]
	jb	_7255
	call	_brl_blitz_ArrayBoundsError
_7255:
	mov	esi,dword [ebp-4]
	shl	ebx,2
	add	esi,ebx
	mov	ebx,dword [ebp-12]
	shl	ebx,3
	add	ebx,dword [ebp-32]
	mov	eax,dword [ebp-36]
	cmp	ebx,dword [eax+20]
	jb	_7258
	call	_brl_blitz_ArrayBoundsError
_7258:
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
_413:
	add	dword [ebp-32],1
_7252:
	cmp	dword [ebp-32],7
	jle	_415
_414:
	call	dword [_bbOnDebugLeaveScope]
_7243:
	mov	ebx,0
	jmp	_1754
_1754:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_loadpalette:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],_bbEmptyArray
	mov	word [ebp-4],0
	mov	word [ebp-8],0
	mov	dword [ebp-20],_bbEmptyArray
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	eax,ebp
	push	eax
	push	_7387
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7268
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	256
	push	_7269
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-16],eax
	push	_7271
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],0
	jge	_7272
	mov	eax,ebp
	push	eax
	push	_7275
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7273
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_416
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7274
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],0
	call	dword [_bbOnDebugLeaveScope]
_7272:
	push	_7276
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_417
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,1
	jne	_7277
	mov	eax,ebp
	push	eax
	push	_7278
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_7279
_7277:
	mov	eax,ebp
	push	eax
	push	_7384
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7280
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	word [ebp-4],0
	mov	word [ebp-8],0
	push	_7283
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	768
	push	_7284
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-20],eax
	push	_7286
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],_bbNullObject
	push	_7288
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_417
	push	dword [_bb_GamePath]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-24],eax
	push	_7289
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-4],ax
	push	_7290
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_brl_stream_ReadShort
	add	esp,4
	mov	eax,eax
	and	eax,0xffff
	mov	eax,eax
	mov	word [ebp-8],ax
	push	_7291
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	dword [ebp-28],0
	jmp	_7293
_420:
	mov	eax,ebp
	push	eax
	push	_7298
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7294
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-28]
	mov	eax,dword [ebp-20]
	cmp	esi,dword [eax+20]
	jb	_7296
	call	_brl_blitz_ArrayBoundsError
_7296:
	mov	ebx,dword [ebp-20]
	add	ebx,esi
	push	dword [ebp-24]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebx+24],al
	call	dword [_bbOnDebugLeaveScope]
_418:
	add	dword [ebp-28],1
_7293:
	cmp	dword [ebp-28],767
	jle	_420
_419:
	push	_7299
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_7300
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	mov	dword [ebp-32],0
	jmp	_7302
_423:
	mov	eax,ebp
	push	eax
	push	_7383
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7303
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_7305
	call	_brl_blitz_ArrayBoundsError
_7305:
	mov	esi,dword [ebp-16]
	shl	ebx,2
	add	esi,ebx
	push	_bb_RGBP
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_7310
	push	eax
	call	_bbGCFree
	add	esp,4
_7310:
	mov	dword [esi+24],ebx
	push	_7311
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_7313
	call	_brl_blitz_ArrayBoundsError
_7313:
	mov	eax,dword [ebp-16]
	mov	esi,dword [eax+ebx*4+24]
	cmp	esi,_bbNullObject
	jne	_7315
	call	_brl_blitz_NullObjectError
_7315:
	mov	ebx,dword [ebp-32]
	imul	ebx,3
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_7318
	call	_brl_blitz_ArrayBoundsError
_7318:
	mov	eax,dword [ebp-20]
	movzx	eax,byte [eax+ebx+24]
	mov	eax,eax
	mov	dword [esi+8],eax
	push	_7319
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_7321
	call	_brl_blitz_ArrayBoundsError
_7321:
	mov	eax,dword [ebp-16]
	mov	esi,dword [eax+ebx*4+24]
	cmp	esi,_bbNullObject
	jne	_7323
	call	_brl_blitz_NullObjectError
_7323:
	mov	ebx,dword [ebp-32]
	imul	ebx,3
	add	ebx,1
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_7326
	call	_brl_blitz_ArrayBoundsError
_7326:
	mov	eax,dword [ebp-20]
	movzx	eax,byte [eax+ebx+24]
	mov	eax,eax
	mov	dword [esi+16],eax
	push	_7327
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_7329
	call	_brl_blitz_ArrayBoundsError
_7329:
	mov	eax,dword [ebp-16]
	mov	esi,dword [eax+ebx*4+24]
	cmp	esi,_bbNullObject
	jne	_7331
	call	_brl_blitz_NullObjectError
_7331:
	mov	ebx,dword [ebp-32]
	imul	ebx,3
	add	ebx,2
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_7334
	call	_brl_blitz_ArrayBoundsError
_7334:
	mov	eax,dword [ebp-20]
	movzx	eax,byte [eax+ebx+24]
	mov	eax,eax
	mov	dword [esi+12],eax
	push	_7335
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_7337
	call	_brl_blitz_ArrayBoundsError
_7337:
	mov	eax,dword [ebp-16]
	mov	edi,dword [eax+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_7339
	call	_brl_blitz_NullObjectError
_7339:
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_7341
	call	_brl_blitz_ArrayBoundsError
_7341:
	mov	eax,dword [ebp-16]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7343
	call	_brl_blitz_NullObjectError
_7343:
	mov	esi,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	esi,dword [eax+20]
	jb	_7345
	call	_brl_blitz_ArrayBoundsError
_7345:
	mov	eax,dword [ebp-16]
	mov	esi,dword [eax+esi*4+24]
	cmp	esi,_bbNullObject
	jne	_7347
	call	_brl_blitz_NullObjectError
_7347:
	push	dword [esi+12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_428
	push	dword [ebx+16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_427
	push	dword [edi+8]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_426
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_425
	push	dword [ebp-32]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_424
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7348
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-32],0
	jne	_7349
	mov	eax,ebp
	push	eax
	push	_7359
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7350
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_7352
	call	_brl_blitz_ArrayBoundsError
_7352:
	mov	eax,dword [_bb_MasterPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7354
	call	_brl_blitz_NullObjectError
_7354:
	mov	ebx,dword [ebx+12]
	mov	esi,dword [ebp-32]
	cmp	esi,dword [ebx+20]
	jb	_7357
	call	_brl_blitz_ArrayBoundsError
_7357:
	shl	esi,2
	add	ebx,esi
	push	0
	push	0
	push	0
	push	0
	call	_bb_ARGB
	add	esp,16
	mov	dword [ebx+24],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_7360
_7349:
	mov	eax,ebp
	push	eax
	push	_7382
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7361
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_7363
	call	_brl_blitz_ArrayBoundsError
_7363:
	mov	eax,dword [_bb_MasterPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7365
	call	_brl_blitz_NullObjectError
_7365:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-32]
	cmp	ebx,dword [esi+20]
	jb	_7368
	call	_brl_blitz_ArrayBoundsError
_7368:
	shl	ebx,2
	add	esi,ebx
	mov	dword [ebp-36],esi
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_7371
	call	_brl_blitz_ArrayBoundsError
_7371:
	mov	eax,dword [ebp-16]
	mov	edi,dword [eax+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_7373
	call	_brl_blitz_NullObjectError
_7373:
	mov	ebx,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_7375
	call	_brl_blitz_ArrayBoundsError
_7375:
	mov	eax,dword [ebp-16]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7377
	call	_brl_blitz_NullObjectError
_7377:
	mov	esi,dword [ebp-32]
	mov	eax,dword [ebp-16]
	cmp	esi,dword [eax+20]
	jb	_7379
	call	_brl_blitz_ArrayBoundsError
_7379:
	mov	eax,dword [ebp-16]
	mov	esi,dword [eax+esi*4+24]
	cmp	esi,_bbNullObject
	jne	_7381
	call	_brl_blitz_NullObjectError
_7381:
	push	dword [esi+12]
	push	dword [ebx+16]
	push	dword [edi+8]
	push	255
	call	_bb_ARGB
	add	esp,16
	mov	edx,dword [ebp-36]
	mov	dword [edx+24],eax
	call	dword [_bbOnDebugLeaveScope]
_7360:
	call	dword [_bbOnDebugLeaveScope]
_421:
	add	dword [ebp-32],1
_7302:
	cmp	dword [ebp-32],255
	jle	_423
_422:
	call	dword [_bbOnDebugLeaveScope]
_7279:
	mov	ebx,0
	jmp	_1757
_1757:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_loadset:
	push	ebp
	mov	ebp,esp
	sub	esp,56
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-20],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-24],eax
	mov	dword [ebp-28],_bbNullObject
	mov	dword [ebp-32],0
	mov	dword [ebp-36],0
	mov	byte [ebp-4],0
	mov	dword [ebp-40],0
	mov	byte [ebp-8],0
	mov	dword [ebp-44],_bbEmptyArray
	mov	dword [ebp-48],0
	mov	dword [ebp-52],0
	mov	dword [ebp-56],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_7475
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7391
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],_bbNullObject
	push	_7393
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	push	_7395
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	push	_7397
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-4],0
	push	_7399
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	push	_7401
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-8],0
	push	_7403
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	push	_7404
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-44],eax
	push	_7406
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	push	_429
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7407
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,1
	jne	_7408
	mov	eax,ebp
	push	eax
	push	_7411
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7409
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_430
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7410
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1763
_7408:
	push	_7412
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],0
	jge	_7413
	mov	eax,ebp
	push	eax
	push	_7416
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7414
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	push	_432
	push	dword [ebp-16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_431
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7415
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1763
_7413:
	mov	eax,ebp
	push	eax
	push	_7419
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7418
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	push	_432
	push	dword [ebp-16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_431
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_7417:
	push	_7420
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-28],eax
	push	_7421
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	imul	eax,dword [ebp-24]
	add	eax,1
	push	eax
	push	dword [ebp-28]
	call	_brl_stream_SeekStream
	add	esp,8
	push	_7422
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	push	_7423
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	push	_7424
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_433
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7425
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-48],0
	push	_7427
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-52],0
	push	_7429
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	edi,eax
	jmp	_7430
_436:
	mov	eax,ebp
	push	eax
	push	_7473
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7432
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_7433
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-40],0
	jne	_7434
	mov	eax,ebp
	push	eax
	push	_7440
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7435
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	mov	eax,dword [ebp-44]
	cmp	ebx,dword [eax+20]
	jb	_7437
	call	_brl_blitz_ArrayBoundsError
_7437:
	mov	eax,dword [ebp-44]
	shl	ebx,2
	add	eax,ebx
	movzx	edx,byte [ebp-4]
	mov	edx,edx
	mov	dword [eax+24],edx
	push	_7439
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_7441
_7434:
	mov	eax,ebp
	push	eax
	push	_7471
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7442
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	mov	eax,dword [ebp-44]
	cmp	ebx,dword [eax+20]
	jb	_7444
	call	_brl_blitz_ArrayBoundsError
_7444:
	mov	eax,dword [ebp-44]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	mov	ebx,dword [ebp-36]
	mov	eax,dword [ebp-44]
	cmp	ebx,dword [eax+20]
	jb	_7447
	call	_brl_blitz_ArrayBoundsError
_7447:
	mov	eax,dword [ebp-44]
	mov	edx,dword [eax+ebx*4+24]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	shl	eax,8
	or	edx,eax
	mov	dword [esi+24],edx
	push	_7448
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	mov	eax,dword [ebp-44]
	cmp	ebx,dword [eax+20]
	jb	_7450
	call	_brl_blitz_ArrayBoundsError
_7450:
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax+ebx*4+24]
	and	eax,32768
	cmp	eax,0
	jle	_7451
	mov	eax,ebp
	push	eax
	push	_7458
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7452
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	mov	eax,dword [ebp-44]
	cmp	ebx,dword [eax+20]
	jb	_7454
	call	_brl_blitz_ArrayBoundsError
_7454:
	mov	eax,dword [ebp-44]
	shl	ebx,2
	add	eax,ebx
	mov	esi,eax
	mov	ebx,dword [ebp-36]
	mov	eax,dword [ebp-44]
	cmp	ebx,dword [eax+20]
	jb	_7457
	call	_brl_blitz_ArrayBoundsError
_7457:
	mov	eax,dword [ebp-44]
	mov	eax,dword [eax+ebx*4+24]
	or	eax,-65536
	mov	dword [esi+24],eax
	call	dword [_bbOnDebugLeaveScope]
_7451:
	push	_7459
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	push	_7460
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	mov	eax,dword [ebp-44]
	cmp	ebx,dword [eax+20]
	jb	_7462
	call	_brl_blitz_ArrayBoundsError
_7462:
	mov	eax,dword [ebp-44]
	push	dword [eax+ebx*4+24]
	call	_bb_IntToRGBA
	add	esp,4
	mov	dword [ebp-56],eax
	push	_7464
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-36],1
	push	_7465
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-48],1
	push	_7466
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-48],319
	jle	_7467
	mov	eax,ebp
	push	eax
	push	_7470
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7468
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-48],1
	push	_7469
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-52],1
	call	dword [_bbOnDebugLeaveScope]
_7467:
	call	dword [_bbOnDebugLeaveScope]
_7441:
	call	dword [_bbOnDebugLeaveScope]
_434:
	add	dword [ebp-32],1
_7430:
	cmp	dword [ebp-32],edi
	jle	_436
_435:
	push	_7474
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_brl_filesystem_CloseFile
	add	esp,4
	mov	ebx,_bbNullObject
	jmp	_1763
_1763:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_loadmxs:
	push	ebp
	mov	ebp,esp
	sub	esp,60
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],0
	mov	dword [ebp-40],0
	mov	byte [ebp-4],0
	mov	dword [ebp-44],_bbNullObject
	mov	dword [ebp-48],0
	mov	dword [ebp-52],0
	mov	dword [ebp-56],0
	mov	dword [ebp-60],0
	mov	eax,ebp
	push	eax
	push	_7586
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7481
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	push	_7483
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	push	_7486
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	push	_7488
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	push	_7490
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,1
	jne	_7491
	mov	eax,ebp
	push	eax
	push	_7493
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7492
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1768
_7491:
	push	_7494
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],0
	jge	_7495
	mov	eax,ebp
	push	eax
	push	_7498
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7496
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_437
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7497
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1768
_7495:
	push	_7499
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_ReadFile
	add	esp,4
	mov	dword [ebp-20],eax
	push	_7500
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_StreamSize
	add	esp,4
	mov	edx,dword [ebp-12]
	add	edx,1
	imul	edx,64000
	cmp	eax,edx
	jge	_7501
	mov	eax,ebp
	push	eax
	push	_7505
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7502
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_441
	push	dword [ebp-20]
	call	_brl_stream_StreamSize
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_440
	push	dword [ebp-8]
	push	_439
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_438
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_7503
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_7504
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1768
_7501:
	push	_7506
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-12]
	imul	eax,64000
	add	eax,1
	push	eax
	push	dword [ebp-20]
	call	_brl_stream_SeekStream
	add	esp,8
	push	_7507
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	jne	_7508
	mov	eax,ebp
	push	eax
	push	_7513
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7509
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Frame
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	push	_7510
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_7512
	call	_brl_blitz_NullObjectError
_7512:
	push	200
	push	320
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_7508:
	push	_7514
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],0
	push	_7516
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-36],0
	jmp	_7517
_444:
	mov	eax,ebp
	push	eax
	push	_7542
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7518
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	jmp	_7519
_447:
	mov	eax,ebp
	push	eax
	push	_7541
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7520
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	push	_7521
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	jmp	_7522
_450:
	mov	eax,ebp
	push	eax
	push	_7540
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7523
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_Eof
	add	esp,4
	cmp	eax,0
	je	_7524
	mov	eax,ebp
	push	eax
	push	_7526
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7525
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1768
_7524:
	push	_7527
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_stream_ReadByte
	add	esp,4
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_7529
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-16]
	cmp	edi,_bbNullObject
	jne	_7531
	call	_brl_blitz_NullObjectError
_7531:
	mov	ebx,0
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_7533
	call	_brl_blitz_ArrayBoundsError
_7533:
	mov	eax,dword [_bb_MasterPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7535
	call	_brl_blitz_NullObjectError
_7535:
	mov	esi,dword [ebx+12]
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_7538
	call	_brl_blitz_ArrayBoundsError
_7538:
	push	dword [esi+ebx*4+24]
	push	dword [ebp-28]
	mov	eax,dword [ebp-36]
	add	eax,dword [ebp-32]
	push	eax
	push	dword [edi+20]
	call	_brl_pixmap_WritePixel
	add	esp,16
	push	_7539
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-32],4
	call	dword [_bbOnDebugLeaveScope]
_448:
	add	dword [ebp-24],1
_7522:
	cmp	dword [ebp-24],79
	jle	_450
_449:
	call	dword [_bbOnDebugLeaveScope]
_445:
	add	dword [ebp-28],1
_7519:
	cmp	dword [ebp-28],199
	jle	_447
_446:
	call	dword [_bbOnDebugLeaveScope]
_442:
	add	dword [ebp-36],1
_7517:
	cmp	dword [ebp-36],3
	jle	_444
_443:
	push	_7543
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	4
	push	6
	push	200
	push	320
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	dword [ebp-44],eax
	push	_7545
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	dword [ebp-44]
	call	_brl_pixmap_ClearPixels
	add	esp,8
	push	_7546
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-48],0
	mov	dword [ebp-48],0
	jmp	_7548
_453:
	mov	eax,ebp
	push	eax
	push	_7556
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7549
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-52],0
	mov	dword [ebp-52],0
	jmp	_7551
_456:
	mov	eax,ebp
	push	eax
	push	_7555
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7552
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_7554
	call	_brl_blitz_NullObjectError
_7554:
	push	dword [ebp-48]
	push	dword [ebp-52]
	push	dword [ebx+20]
	call	_brl_pixmap_ReadPixel
	add	esp,12
	push	eax
	push	dword [ebp-48]
	mov	eax,dword [ebp-52]
	add	eax,4
	push	eax
	push	dword [ebp-44]
	call	_brl_pixmap_WritePixel
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_454:
	add	dword [ebp-52],1
_7551:
	cmp	dword [ebp-52],315
	jle	_456
_455:
	call	dword [_bbOnDebugLeaveScope]
_451:
	add	dword [ebp-48],1
_7548:
	cmp	dword [ebp-48],199
	jle	_453
_452:
	push	_7557
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-56],0
	mov	dword [ebp-56],0
	jmp	_7559
_459:
	mov	eax,ebp
	push	eax
	push	_7575
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7560
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-60],0
	mov	dword [ebp-60],1
	jmp	_7562
_462:
	mov	eax,ebp
	push	eax
	push	_7574
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7563
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-56],198
	jle	_7564
	mov	eax,ebp
	push	eax
	push	_7568
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7565
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_7567
	call	_brl_blitz_NullObjectError
_7567:
	push	dword [ebp-56]
	mov	eax,dword [ebp-60]
	add	eax,315
	push	eax
	push	dword [ebx+20]
	call	_brl_pixmap_ReadPixel
	add	esp,12
	push	eax
	push	0
	mov	eax,dword [ebp-60]
	sub	eax,1
	push	eax
	push	dword [ebp-44]
	call	_brl_pixmap_WritePixel
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_7569
_7564:
	mov	eax,ebp
	push	eax
	push	_7573
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7570
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_7572
	call	_brl_blitz_NullObjectError
_7572:
	push	dword [ebp-56]
	mov	eax,dword [ebp-60]
	add	eax,315
	push	eax
	push	dword [ebx+20]
	call	_brl_pixmap_ReadPixel
	add	esp,12
	push	eax
	mov	eax,dword [ebp-56]
	add	eax,1
	push	eax
	mov	eax,dword [ebp-60]
	sub	eax,1
	push	eax
	push	dword [ebp-44]
	call	_brl_pixmap_WritePixel
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_7569:
	call	dword [_bbOnDebugLeaveScope]
_460:
	add	dword [ebp-60],1
_7562:
	cmp	dword [ebp-60],4
	jle	_462
_461:
	call	dword [_bbOnDebugLeaveScope]
_457:
	add	dword [ebp-56],1
_7559:
	cmp	dword [ebp-56],199
	jle	_459
_458:
	push	_7576
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_7578
	call	_brl_blitz_NullObjectError
_7578:
	mov	ebx,dword [ebp-44]
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_7583
	push	eax
	call	_bbGCFree
	add	esp,4
_7583:
	mov	dword [esi+20],ebx
	push	_7584
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_7585
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	jmp	_1768
_1768:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_RGB:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	push	ebp
	push	_7593
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7591
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	and	ebx,255
	shl	ebx,12
	mov	eax,dword [ebp-8]
	and	eax,255
	shl	eax,8
	or	ebx,eax
	mov	eax,dword [ebp-12]
	and	eax,255
	shl	eax,4
	or	ebx,eax
	jmp	_1773
_1773:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_ARGB:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	push	ebp
	push	_7599
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7598
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	and	ebx,255
	shl	ebx,24
	mov	eax,dword [ebp-8]
	and	eax,255
	shl	eax,16
	or	ebx,eax
	mov	eax,dword [ebp-12]
	and	eax,255
	shl	eax,8
	or	ebx,eax
	mov	eax,dword [ebp-16]
	and	eax,255
	or	ebx,eax
	jmp	_1779
_1779:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_IntToRGBA:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbEmptyArray
	push	ebp
	push	_7622
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7602
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	4
	push	_7603
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-8],eax
	push	_7605
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_7607
	call	_brl_blitz_ArrayBoundsError
_7607:
	mov	edx,dword [ebp-8]
	shl	ebx,2
	add	edx,ebx
	mov	eax,dword [ebp-4]
	shr	eax,24
	and	eax,255
	mov	dword [edx+24],eax
	push	_7609
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_7611
	call	_brl_blitz_ArrayBoundsError
_7611:
	mov	edx,dword [ebp-8]
	shl	ebx,2
	add	edx,ebx
	mov	eax,dword [ebp-4]
	shr	eax,16
	and	eax,255
	mov	dword [edx+24],eax
	push	_7613
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_7615
	call	_brl_blitz_ArrayBoundsError
_7615:
	mov	edx,dword [ebp-8]
	shl	ebx,2
	add	edx,ebx
	mov	eax,dword [ebp-4]
	shr	eax,8
	and	eax,255
	mov	dword [edx+24],eax
	push	_7617
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-8]
	cmp	ebx,dword [eax+20]
	jb	_7619
	call	_brl_blitz_ArrayBoundsError
_7619:
	mov	eax,dword [ebp-8]
	shl	ebx,2
	add	eax,ebx
	mov	edx,dword [ebp-4]
	and	edx,255
	mov	dword [eax+24],edx
	push	_7621
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	jmp	_1782
_1782:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_RPGXML_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_7627
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_RPGXML
	push	ebp
	push	_7626
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_1785
_1785:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_RPGXML_Delete:
	push	ebp
	mov	ebp,esp
_1788:
	mov	eax,0
	jmp	_7628
_7628:
	mov	esp,ebp
	pop	ebp
	ret
__bb_RPGXML_CreateXML:
	push	ebp
	mov	ebp,esp
	sub	esp,952
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],_bbNullObject
	mov	dword [ebp-32],0
	mov	dword [ebp-36],_bbNullObject
	mov	dword [ebp-84],0
	mov	dword [ebp-88],_bbNullObject
	mov	dword [ebp-40],_bbNullObject
	mov	dword [ebp-92],_bbNullObject
	mov	dword [ebp-96],_bbNullObject
	mov	dword [ebp-100],_bbNullObject
	mov	dword [ebp-132],0
	mov	dword [ebp-136],_bbNullObject
	mov	dword [ebp-104],_bbNullObject
	mov	dword [ebp-140],0
	mov	dword [ebp-144],_bbNullObject
	mov	dword [ebp-108],_bbNullObject
	mov	dword [ebp-148],0
	mov	dword [ebp-152],_bbNullObject
	mov	dword [ebp-112],_bbNullObject
	mov	dword [ebp-116],_bbNullObject
	mov	dword [ebp-120],_bbNullObject
	mov	byte [ebp-4],0
	mov	dword [ebp-156],0
	mov	dword [ebp-160],_bbEmptyString
	mov	dword [ebp-124],0
	mov	dword [ebp-128],_bbEmptyArray
	mov	dword [ebp-164],_bbEmptyString
	mov	dword [ebp-168],_bbNullObject
	mov	dword [ebp-172],_bbNullObject
	mov	dword [ebp-176],0
	mov	dword [ebp-180],_bbNullObject
	mov	dword [ebp-184],_bbNullObject
	mov	dword [ebp-188],0
	mov	dword [ebp-192],0
	mov	dword [ebp-196],_bbEmptyString
	mov	dword [ebp-200],0
	mov	dword [ebp-204],0
	mov	dword [ebp-208],_bbNullObject
	mov	dword [ebp-212],_bbNullObject
	mov	dword [ebp-216],0
	mov	dword [ebp-220],0
	mov	dword [ebp-224],_bbEmptyString
	mov	dword [ebp-228],0
	mov	dword [ebp-232],0
	mov	dword [ebp-236],_bbNullObject
	mov	dword [ebp-240],_bbNullObject
	mov	dword [ebp-244],0
	mov	dword [ebp-248],0
	mov	dword [ebp-252],_bbEmptyString
	mov	dword [ebp-256],0
	mov	dword [ebp-44],_bbNullObject
	mov	dword [ebp-48],_bbNullObject
	mov	dword [ebp-52],_bbNullObject
	mov	dword [ebp-260],0
	mov	dword [ebp-264],_bbNullObject
	mov	dword [ebp-268],_bbNullObject
	mov	dword [ebp-272],_bbNullObject
	mov	dword [ebp-276],0
	mov	dword [ebp-280],_bbEmptyArray
	mov	dword [ebp-56],_bbNullObject
	mov	dword [ebp-60],0
	mov	dword [ebp-284],0
	mov	dword [ebp-288],_bbNullObject
	mov	dword [ebp-292],_bbEmptyString
	mov	dword [ebp-296],0
	mov	dword [ebp-300],_bbEmptyArray
	mov	dword [ebp-64],_bbNullObject
	mov	dword [ebp-304],0
	mov	dword [ebp-308],_bbNullObject
	mov	dword [ebp-312],_bbNullObject
	mov	dword [ebp-316],_bbNullObject
	mov	dword [ebp-68],_bbNullObject
	mov	dword [ebp-320],0
	mov	dword [ebp-324],_bbNullObject
	mov	dword [ebp-328],_bbNullObject
	mov	dword [ebp-72],_bbNullObject
	mov	dword [ebp-332],0
	mov	dword [ebp-336],_bbNullObject
	mov	dword [ebp-340],_bbNullObject
	mov	dword [ebp-344],0
	mov	dword [ebp-348],_bbNullObject
	mov	dword [ebp-352],_bbNullObject
	mov	dword [ebp-356],_bbNullObject
	mov	dword [ebp-360],_bbEmptyString
	mov	dword [ebp-364],0
	mov	dword [ebp-368],0
	mov	dword [ebp-372],0
	mov	dword [ebp-376],_bbNullObject
	mov	dword [ebp-380],0
	mov	dword [ebp-384],_bbNullObject
	mov	dword [ebp-388],_bbNullObject
	mov	dword [ebp-392],_bbNullObject
	mov	dword [ebp-396],0
	mov	dword [ebp-400],0
	mov	dword [ebp-404],0
	mov	dword [ebp-408],_bbNullObject
	mov	dword [ebp-412],0
	mov	dword [ebp-416],_bbNullObject
	mov	dword [ebp-420],_bbNullObject
	mov	dword [ebp-424],_bbNullObject
	mov	dword [ebp-428],0
	mov	dword [ebp-432],0
	mov	dword [ebp-436],0
	mov	dword [ebp-440],_bbNullObject
	mov	dword [ebp-444],0
	mov	dword [ebp-448],_bbNullObject
	mov	dword [ebp-452],_bbNullObject
	mov	dword [ebp-456],_bbNullObject
	mov	dword [ebp-460],0
	mov	dword [ebp-464],0
	mov	dword [ebp-468],0
	mov	dword [ebp-472],_bbNullObject
	mov	dword [ebp-476],0
	mov	dword [ebp-480],_bbNullObject
	mov	dword [ebp-484],_bbNullObject
	mov	dword [ebp-488],_bbNullObject
	mov	dword [ebp-492],0
	mov	dword [ebp-496],0
	mov	dword [ebp-500],0
	mov	dword [ebp-504],_bbNullObject
	mov	dword [ebp-508],0
	mov	dword [ebp-512],_bbNullObject
	mov	dword [ebp-516],_bbNullObject
	mov	dword [ebp-520],_bbNullObject
	mov	dword [ebp-524],0
	mov	dword [ebp-528],0
	mov	dword [ebp-532],0
	mov	dword [ebp-536],_bbNullObject
	mov	dword [ebp-540],0
	mov	dword [ebp-544],_bbNullObject
	mov	dword [ebp-548],_bbNullObject
	mov	dword [ebp-552],_bbNullObject
	mov	dword [ebp-556],0
	mov	dword [ebp-560],0
	mov	dword [ebp-564],0
	mov	dword [ebp-568],_bbNullObject
	mov	dword [ebp-572],0
	mov	dword [ebp-576],_bbNullObject
	mov	dword [ebp-580],_bbNullObject
	mov	dword [ebp-584],_bbNullObject
	mov	dword [ebp-588],0
	mov	dword [ebp-592],0
	mov	dword [ebp-596],0
	mov	dword [ebp-600],_bbNullObject
	mov	dword [ebp-604],0
	mov	dword [ebp-608],_bbNullObject
	mov	dword [ebp-612],_bbNullObject
	mov	dword [ebp-616],_bbNullObject
	mov	dword [ebp-620],0
	mov	dword [ebp-624],0
	mov	dword [ebp-76],_bbNullObject
	mov	dword [ebp-628],0
	mov	dword [ebp-632],_bbNullObject
	mov	dword [ebp-80],_bbNullObject
	mov	dword [ebp-636],0
	mov	dword [ebp-640],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_11778
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7629
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_7632
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_7634
	call	_brl_blitz_NullObjectError
_7634:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-24],eax
	push	_7636
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-24],_bbNullObject
	jne	_7637
	mov	eax,ebp
	push	eax
	push	_7640
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7638
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_463
	call	_brl_system_Notify
	add	esp,8
	push	_7639
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1793
_7637:
	push	_7641
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-24]
	cmp	esi,_bbNullObject
	jne	_7643
	call	_brl_blitz_NullObjectError
_7643:
	mov	ebx,_464
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_7648
	push	eax
	call	_bbGCFree
	add	esp,4
_7648:
	mov	dword [esi+8],ebx
	push	_7649
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_7651
	call	_brl_blitz_NullObjectError
_7651:
	push	1
	push	_465
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_7653
	call	_brl_blitz_NullObjectError
_7653:
	mov	ebx,_466
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7658
	push	eax
	call	_bbGCFree
	add	esp,4
_7658:
	mov	dword [esi+12],ebx
	push	_7659
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_7661
	call	_brl_blitz_NullObjectError
_7661:
	push	1
	push	_467
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_7663
	call	_brl_blitz_NullObjectError
_7663:
	mov	ebx,_468
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7668
	push	eax
	call	_bbGCFree
	add	esp,4
_7668:
	mov	dword [esi+12],ebx
	push	_7669
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_7671
	call	_brl_blitz_NullObjectError
_7671:
	push	1
	push	_469
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-28],eax
	push	_7673
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	push	_7675
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_7677
	call	_brl_blitz_NullObjectError
_7677:
	push	1
	push	_470
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-36],eax
	push	_7679
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_7681
	call	_brl_blitz_NullObjectError
_7681:
	push	1
	push	_471
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_7683
	call	_brl_blitz_NullObjectError
_7683:
	mov	eax,dword [_bb_Gen]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7688
	push	eax
	call	_bbGCFree
	add	esp,4
_7688:
	mov	dword [esi+12],ebx
	push	_7689
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-84],0
	mov	dword [ebp-84],0
	mov	eax,dword [_bb_Gen]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_7691
_474:
	mov	eax,ebp
	push	eax
	push	_7719
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7693
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_7695
	call	_brl_blitz_NullObjectError
_7695:
	push	1
	push	_475
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-88],eax
	push	_7697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-88]
	cmp	ebx,_bbNullObject
	jne	_7699
	call	_brl_blitz_NullObjectError
_7699:
	push	1
	push	_476
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7701
	call	_brl_blitz_NullObjectError
_7701:
	mov	esi,ebx
	push	dword [ebp-84]
	call	_bbStringFromInt
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7706
	push	eax
	call	_bbGCFree
	add	esp,4
_7706:
	mov	dword [esi+12],ebx
	push	_7707
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-88]
	cmp	ebx,_bbNullObject
	jne	_7709
	call	_brl_blitz_NullObjectError
_7709:
	push	1
	push	_477
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7711
	call	_brl_blitz_NullObjectError
_7711:
	mov	esi,dword [ebp-84]
	mov	eax,dword [_bb_Gen]
	cmp	esi,dword [eax+20]
	jb	_7714
	call	_brl_blitz_ArrayBoundsError
_7714:
	mov	eax,dword [_bb_Gen]
	push	dword [eax+esi*4+24]
	call	_bbStringFromInt
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_7718
	push	eax
	call	_bbGCFree
	add	esp,4
_7718:
	mov	dword [ebx+12],esi
	call	dword [_bbOnDebugLeaveScope]
_472:
	add	dword [ebp-84],1
_7691:
	cmp	dword [ebp-84],edi
	jle	_474
_473:
	push	_7722
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_7724
	call	_brl_blitz_NullObjectError
_7724:
	push	1
	push	_478
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-40],eax
	push	_7726
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-40]
	cmp	ebx,_bbNullObject
	jne	_7728
	call	_brl_blitz_NullObjectError
_7728:
	push	1
	push	_471
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7730
	call	_brl_blitz_NullObjectError
_7730:
	push	dword [_bb_Maps]
	call	_brl_linkedlist_CountList
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_7735
	push	eax
	call	_bbGCFree
	add	esp,4
_7735:
	mov	dword [ebx+12],esi
	push	_7736
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-92],_bbNullObject
	mov	eax,dword [_bb_Maps]
	mov	dword [ebp-948],eax
	mov	ebx,dword [ebp-948]
	cmp	ebx,_bbNullObject
	jne	_7740
	call	_brl_blitz_NullObjectError
_7740:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-952],eax
	jmp	_479
_481:
	mov	ebx,dword [ebp-952]
	cmp	ebx,_bbNullObject
	jne	_7745
	call	_brl_blitz_NullObjectError
_7745:
	push	_bb_MapeditState
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-92],eax
	cmp	dword [ebp-92],_bbNullObject
	je	_479
	mov	eax,ebp
	push	eax
	push	_9636
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7746
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-40]
	cmp	ebx,_bbNullObject
	jne	_7748
	call	_brl_blitz_NullObjectError
_7748:
	push	1
	push	_482
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-96],eax
	push	_7750
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-96]
	cmp	ebx,_bbNullObject
	jne	_7752
	call	_brl_blitz_NullObjectError
_7752:
	push	1
	push	_476
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_7754
	call	_brl_blitz_NullObjectError
_7754:
	push	dword [ebp-32]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7759
	push	eax
	call	_bbGCFree
	add	esp,4
_7759:
	mov	dword [esi+12],ebx
	push	_7760
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-96]
	cmp	ebx,_bbNullObject
	jne	_7762
	call	_brl_blitz_NullObjectError
_7762:
	push	1
	push	_483
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_7764
	call	_brl_blitz_NullObjectError
_7764:
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7767
	call	_brl_blitz_NullObjectError
_7767:
	push	_67
	push	_484
	push	dword [ebx+60]
	call	_brl_retro_Replace
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7771
	push	eax
	call	_bbGCFree
	add	esp,4
_7771:
	mov	dword [esi+12],ebx
	push	_7772
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-96]
	cmp	ebx,_bbNullObject
	jne	_7774
	call	_brl_blitz_NullObjectError
_7774:
	push	1
	push	_485
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7776
	call	_brl_blitz_NullObjectError
_7776:
	push	_487
	push	dword [ebp-32]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_486
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_7781
	push	eax
	call	_bbGCFree
	add	esp,4
_7781:
	mov	dword [ebx+12],esi
	push	_7782
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-96]
	cmp	ebx,_bbNullObject
	jne	_7784
	call	_brl_blitz_NullObjectError
_7784:
	push	1
	push	_488
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-100],eax
	push	_7786
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-100]
	cmp	ebx,_bbNullObject
	jne	_7788
	call	_brl_blitz_NullObjectError
_7788:
	push	1
	push	_471
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_7790
	call	_brl_blitz_NullObjectError
_7790:
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7793
	call	_brl_blitz_NullObjectError
_7793:
	push	dword [ebx+32]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_7797
	push	eax
	call	_bbGCFree
	add	esp,4
_7797:
	mov	dword [esi+12],ebx
	push	_7798
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-132],0
	mov	dword [ebp-132],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7801
	call	_brl_blitz_NullObjectError
_7801:
	mov	eax,dword [ebx+32]
	sub	eax,1
	mov	dword [ebp-944],eax
	jmp	_7802
_491:
	mov	eax,ebp
	push	eax
	push	_8419
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7804
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7806
	call	_brl_blitz_NullObjectError
_7806:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7809
	call	_brl_blitz_ArrayBoundsError
_7809:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7811
	call	_brl_blitz_NullObjectError
_7811:
	cmp	dword [ebx+20],0
	je	_7812
	mov	eax,ebp
	push	eax
	push	_8417
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7813
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-100]
	cmp	ebx,_bbNullObject
	jne	_7815
	call	_brl_blitz_NullObjectError
_7815:
	push	1
	push	_492
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-136],eax
	push	_7817
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_7819
	call	_brl_blitz_NullObjectError
_7819:
	push	1
	push	_493
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7821
	call	_brl_blitz_NullObjectError
_7821:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7824
	call	_brl_blitz_NullObjectError
_7824:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7827
	call	_brl_blitz_ArrayBoundsError
_7827:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7829
	call	_brl_blitz_NullObjectError
_7829:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_7833
	push	eax
	call	_bbGCFree
	add	esp,4
_7833:
	mov	dword [edi+12],ebx
	push	_7834
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_7836
	call	_brl_blitz_NullObjectError
_7836:
	push	1
	push	_494
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7838
	call	_brl_blitz_NullObjectError
_7838:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7841
	call	_brl_blitz_NullObjectError
_7841:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7844
	call	_brl_blitz_ArrayBoundsError
_7844:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7846
	call	_brl_blitz_NullObjectError
_7846:
	push	dword [ebx+16]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_7850
	push	eax
	call	_bbGCFree
	add	esp,4
_7850:
	mov	dword [edi+12],ebx
	push	_7851
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_7853
	call	_brl_blitz_NullObjectError
_7853:
	push	1
	push	_476
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7855
	call	_brl_blitz_NullObjectError
_7855:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7858
	call	_brl_blitz_NullObjectError
_7858:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7861
	call	_brl_blitz_ArrayBoundsError
_7861:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7863
	call	_brl_blitz_NullObjectError
_7863:
	push	dword [ebx+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_7867
	push	eax
	call	_bbGCFree
	add	esp,4
_7867:
	mov	dword [edi+12],ebx
	push	_7868
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_7870
	call	_brl_blitz_NullObjectError
_7870:
	push	1
	push	_495
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7872
	call	_brl_blitz_NullObjectError
_7872:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7875
	call	_brl_blitz_NullObjectError
_7875:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7878
	call	_brl_blitz_ArrayBoundsError
_7878:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7880
	call	_brl_blitz_NullObjectError
_7880:
	push	dword [ebx+32]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_7884
	push	eax
	call	_bbGCFree
	add	esp,4
_7884:
	mov	dword [edi+12],ebx
	push	_7885
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_7887
	call	_brl_blitz_NullObjectError
_7887:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7889
	call	_brl_blitz_NullObjectError
_7889:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7892
	call	_brl_blitz_NullObjectError
_7892:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7895
	call	_brl_blitz_ArrayBoundsError
_7895:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7897
	call	_brl_blitz_NullObjectError
_7897:
	push	dword [ebx+36]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_7901
	push	eax
	call	_bbGCFree
	add	esp,4
_7901:
	mov	dword [edi+12],ebx
	push	_7902
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_7904
	call	_brl_blitz_NullObjectError
_7904:
	push	1
	push	_497
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7906
	call	_brl_blitz_NullObjectError
_7906:
	mov	dword [ebp-656],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7909
	call	_brl_blitz_NullObjectError
_7909:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7912
	call	_brl_blitz_NullObjectError
_7912:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7915
	call	_brl_blitz_ArrayBoundsError
_7915:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7917
	call	_brl_blitz_NullObjectError
_7917:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_7919
	call	_brl_blitz_ArrayBoundsError
_7919:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7921
	call	_brl_blitz_NullObjectError
_7921:
	mov	esi,dword [ebx+84]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_7924
	call	_brl_blitz_ArrayBoundsError
_7924:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-656]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_7928
	push	eax
	call	_bbGCFree
	add	esp,4
_7928:
	mov	eax,dword [ebp-656]
	mov	dword [eax+12],ebx
	push	_7929
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7931
	call	_brl_blitz_NullObjectError
_7931:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7934
	call	_brl_blitz_NullObjectError
_7934:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7937
	call	_brl_blitz_ArrayBoundsError
_7937:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7939
	call	_brl_blitz_NullObjectError
_7939:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_7941
	call	_brl_blitz_ArrayBoundsError
_7941:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7943
	call	_brl_blitz_NullObjectError
_7943:
	mov	esi,dword [ebx+84]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_7946
	call	_brl_blitz_ArrayBoundsError
_7946:
	cmp	dword [esi+ebx*4+24],65535
	jne	_7947
	mov	eax,ebp
	push	eax
	push	_7982
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7948
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_7950
	call	_brl_blitz_NullObjectError
_7950:
	push	1
	push	_498
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7952
	call	_brl_blitz_NullObjectError
_7952:
	mov	dword [ebp-768],ebx
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_7955
	call	_brl_blitz_NullObjectError
_7955:
	mov	eax,dword [ebx+8]
	mov	dword [ebp-732],eax
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7958
	call	_brl_blitz_NullObjectError
_7958:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7961
	call	_brl_blitz_NullObjectError
_7961:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7964
	call	_brl_blitz_ArrayBoundsError
_7964:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7966
	call	_brl_blitz_NullObjectError
_7966:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_7968
	call	_brl_blitz_ArrayBoundsError
_7968:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7970
	call	_brl_blitz_NullObjectError
_7970:
	mov	esi,dword [ebx+84]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_7973
	call	_brl_blitz_ArrayBoundsError
_7973:
	mov	ebx,dword [esi+ebx*4+24]
	mov	eax,dword [ebp-732]
	cmp	ebx,dword [eax+20]
	jb	_7975
	call	_brl_blitz_ArrayBoundsError
_7975:
	mov	eax,dword [ebp-732]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7977
	call	_brl_blitz_NullObjectError
_7977:
	push	dword [ebx+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-768]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_7981
	push	eax
	call	_bbGCFree
	add	esp,4
_7981:
	mov	eax,dword [ebp-768]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_7983
_7947:
	mov	eax,ebp
	push	eax
	push	_8011
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_7984
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_7986
	call	_brl_blitz_NullObjectError
_7986:
	push	1
	push	_498
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_7988
	call	_brl_blitz_NullObjectError
_7988:
	mov	dword [ebp-660],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7991
	call	_brl_blitz_NullObjectError
_7991:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_7994
	call	_brl_blitz_NullObjectError
_7994:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_7997
	call	_brl_blitz_ArrayBoundsError
_7997:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_7999
	call	_brl_blitz_NullObjectError
_7999:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8001
	call	_brl_blitz_ArrayBoundsError
_8001:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8003
	call	_brl_blitz_NullObjectError
_8003:
	mov	esi,dword [ebx+84]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_8006
	call	_brl_blitz_ArrayBoundsError
_8006:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-660]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8010
	push	eax
	call	_bbGCFree
	add	esp,4
_8010:
	mov	eax,dword [ebp-660]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_7983:
	push	_8012
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8014
	call	_brl_blitz_NullObjectError
_8014:
	push	1
	push	_499
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8016
	call	_brl_blitz_NullObjectError
_8016:
	mov	dword [ebp-664],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8019
	call	_brl_blitz_NullObjectError
_8019:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8022
	call	_brl_blitz_NullObjectError
_8022:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8025
	call	_brl_blitz_ArrayBoundsError
_8025:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8027
	call	_brl_blitz_NullObjectError
_8027:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8029
	call	_brl_blitz_ArrayBoundsError
_8029:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8031
	call	_brl_blitz_NullObjectError
_8031:
	mov	esi,dword [ebx+84]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_8034
	call	_brl_blitz_ArrayBoundsError
_8034:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-664]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8038
	push	eax
	call	_bbGCFree
	add	esp,4
_8038:
	mov	eax,dword [ebp-664]
	mov	dword [eax+12],ebx
	push	_8039
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8041
	call	_brl_blitz_NullObjectError
_8041:
	push	1
	push	_500
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8043
	call	_brl_blitz_NullObjectError
_8043:
	mov	dword [ebp-668],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8046
	call	_brl_blitz_NullObjectError
_8046:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8049
	call	_brl_blitz_NullObjectError
_8049:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8052
	call	_brl_blitz_ArrayBoundsError
_8052:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8054
	call	_brl_blitz_NullObjectError
_8054:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8056
	call	_brl_blitz_ArrayBoundsError
_8056:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8058
	call	_brl_blitz_NullObjectError
_8058:
	mov	esi,dword [ebx+84]
	mov	ebx,3
	cmp	ebx,dword [esi+20]
	jb	_8061
	call	_brl_blitz_ArrayBoundsError
_8061:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-668]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8065
	push	eax
	call	_bbGCFree
	add	esp,4
_8065:
	mov	eax,dword [ebp-668]
	mov	dword [eax+12],ebx
	push	_8066
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8068
	call	_brl_blitz_NullObjectError
_8068:
	push	1
	push	_501
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8070
	call	_brl_blitz_NullObjectError
_8070:
	mov	dword [ebp-672],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8073
	call	_brl_blitz_NullObjectError
_8073:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8076
	call	_brl_blitz_NullObjectError
_8076:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8079
	call	_brl_blitz_ArrayBoundsError
_8079:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8081
	call	_brl_blitz_NullObjectError
_8081:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8083
	call	_brl_blitz_ArrayBoundsError
_8083:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8085
	call	_brl_blitz_NullObjectError
_8085:
	mov	esi,dword [ebx+84]
	mov	ebx,4
	cmp	ebx,dword [esi+20]
	jb	_8088
	call	_brl_blitz_ArrayBoundsError
_8088:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-672]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8092
	push	eax
	call	_bbGCFree
	add	esp,4
_8092:
	mov	eax,dword [ebp-672]
	mov	dword [eax+12],ebx
	push	_8093
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8095
	call	_brl_blitz_NullObjectError
_8095:
	push	1
	push	_502
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8097
	call	_brl_blitz_NullObjectError
_8097:
	mov	dword [ebp-676],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8100
	call	_brl_blitz_NullObjectError
_8100:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8103
	call	_brl_blitz_NullObjectError
_8103:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8106
	call	_brl_blitz_ArrayBoundsError
_8106:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8108
	call	_brl_blitz_NullObjectError
_8108:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8110
	call	_brl_blitz_ArrayBoundsError
_8110:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8112
	call	_brl_blitz_NullObjectError
_8112:
	mov	esi,dword [ebx+84]
	mov	ebx,5
	cmp	ebx,dword [esi+20]
	jb	_8115
	call	_brl_blitz_ArrayBoundsError
_8115:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-676]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8119
	push	eax
	call	_bbGCFree
	add	esp,4
_8119:
	mov	eax,dword [ebp-676]
	mov	dword [eax+12],ebx
	push	_8120
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8122
	call	_brl_blitz_NullObjectError
_8122:
	push	1
	push	_503
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8124
	call	_brl_blitz_NullObjectError
_8124:
	mov	dword [ebp-680],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8127
	call	_brl_blitz_NullObjectError
_8127:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8130
	call	_brl_blitz_NullObjectError
_8130:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8133
	call	_brl_blitz_ArrayBoundsError
_8133:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8135
	call	_brl_blitz_NullObjectError
_8135:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8137
	call	_brl_blitz_ArrayBoundsError
_8137:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8139
	call	_brl_blitz_NullObjectError
_8139:
	mov	esi,dword [ebx+84]
	mov	ebx,6
	cmp	ebx,dword [esi+20]
	jb	_8142
	call	_brl_blitz_ArrayBoundsError
_8142:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-680]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8146
	push	eax
	call	_bbGCFree
	add	esp,4
_8146:
	mov	eax,dword [ebp-680]
	mov	dword [eax+12],ebx
	push	_8147
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8149
	call	_brl_blitz_NullObjectError
_8149:
	push	1
	push	_504
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8151
	call	_brl_blitz_NullObjectError
_8151:
	mov	dword [ebp-684],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8154
	call	_brl_blitz_NullObjectError
_8154:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8157
	call	_brl_blitz_NullObjectError
_8157:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8160
	call	_brl_blitz_ArrayBoundsError
_8160:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8162
	call	_brl_blitz_NullObjectError
_8162:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8164
	call	_brl_blitz_ArrayBoundsError
_8164:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8166
	call	_brl_blitz_NullObjectError
_8166:
	mov	esi,dword [ebx+84]
	mov	ebx,7
	cmp	ebx,dword [esi+20]
	jb	_8169
	call	_brl_blitz_ArrayBoundsError
_8169:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-684]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8173
	push	eax
	call	_bbGCFree
	add	esp,4
_8173:
	mov	eax,dword [ebp-684]
	mov	dword [eax+12],ebx
	push	_8174
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8176
	call	_brl_blitz_NullObjectError
_8176:
	push	1
	push	_505
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8178
	call	_brl_blitz_NullObjectError
_8178:
	mov	dword [ebp-688],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8181
	call	_brl_blitz_NullObjectError
_8181:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8184
	call	_brl_blitz_NullObjectError
_8184:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8187
	call	_brl_blitz_ArrayBoundsError
_8187:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8189
	call	_brl_blitz_NullObjectError
_8189:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8191
	call	_brl_blitz_ArrayBoundsError
_8191:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8193
	call	_brl_blitz_NullObjectError
_8193:
	mov	esi,dword [ebx+84]
	mov	ebx,8
	cmp	ebx,dword [esi+20]
	jb	_8196
	call	_brl_blitz_ArrayBoundsError
_8196:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-688]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8200
	push	eax
	call	_bbGCFree
	add	esp,4
_8200:
	mov	eax,dword [ebp-688]
	mov	dword [eax+12],ebx
	push	_8201
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8203
	call	_brl_blitz_NullObjectError
_8203:
	push	1
	push	_506
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8205
	call	_brl_blitz_NullObjectError
_8205:
	mov	dword [ebp-692],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8208
	call	_brl_blitz_NullObjectError
_8208:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8211
	call	_brl_blitz_NullObjectError
_8211:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8214
	call	_brl_blitz_ArrayBoundsError
_8214:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8216
	call	_brl_blitz_NullObjectError
_8216:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8218
	call	_brl_blitz_ArrayBoundsError
_8218:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8220
	call	_brl_blitz_NullObjectError
_8220:
	mov	esi,dword [ebx+84]
	mov	ebx,9
	cmp	ebx,dword [esi+20]
	jb	_8223
	call	_brl_blitz_ArrayBoundsError
_8223:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-692]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8227
	push	eax
	call	_bbGCFree
	add	esp,4
_8227:
	mov	eax,dword [ebp-692]
	mov	dword [eax+12],ebx
	push	_8228
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8230
	call	_brl_blitz_NullObjectError
_8230:
	push	1
	push	_507
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8232
	call	_brl_blitz_NullObjectError
_8232:
	mov	dword [ebp-696],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8235
	call	_brl_blitz_NullObjectError
_8235:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8238
	call	_brl_blitz_NullObjectError
_8238:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8241
	call	_brl_blitz_ArrayBoundsError
_8241:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8243
	call	_brl_blitz_NullObjectError
_8243:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8245
	call	_brl_blitz_ArrayBoundsError
_8245:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8247
	call	_brl_blitz_NullObjectError
_8247:
	mov	esi,dword [ebx+84]
	mov	ebx,10
	cmp	ebx,dword [esi+20]
	jb	_8250
	call	_brl_blitz_ArrayBoundsError
_8250:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-696]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8254
	push	eax
	call	_bbGCFree
	add	esp,4
_8254:
	mov	eax,dword [ebp-696]
	mov	dword [eax+12],ebx
	push	_8255
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8257
	call	_brl_blitz_NullObjectError
_8257:
	push	1
	push	_508
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8259
	call	_brl_blitz_NullObjectError
_8259:
	mov	dword [ebp-700],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8262
	call	_brl_blitz_NullObjectError
_8262:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8265
	call	_brl_blitz_NullObjectError
_8265:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8268
	call	_brl_blitz_ArrayBoundsError
_8268:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8270
	call	_brl_blitz_NullObjectError
_8270:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8272
	call	_brl_blitz_ArrayBoundsError
_8272:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8274
	call	_brl_blitz_NullObjectError
_8274:
	mov	esi,dword [ebx+84]
	mov	ebx,11
	cmp	ebx,dword [esi+20]
	jb	_8277
	call	_brl_blitz_ArrayBoundsError
_8277:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-700]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8281
	push	eax
	call	_bbGCFree
	add	esp,4
_8281:
	mov	eax,dword [ebp-700]
	mov	dword [eax+12],ebx
	push	_8282
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8284
	call	_brl_blitz_NullObjectError
_8284:
	push	1
	push	_509
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8286
	call	_brl_blitz_NullObjectError
_8286:
	mov	dword [ebp-704],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8289
	call	_brl_blitz_NullObjectError
_8289:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8292
	call	_brl_blitz_NullObjectError
_8292:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8295
	call	_brl_blitz_ArrayBoundsError
_8295:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8297
	call	_brl_blitz_NullObjectError
_8297:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8299
	call	_brl_blitz_ArrayBoundsError
_8299:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8301
	call	_brl_blitz_NullObjectError
_8301:
	mov	esi,dword [ebx+84]
	mov	ebx,12
	cmp	ebx,dword [esi+20]
	jb	_8304
	call	_brl_blitz_ArrayBoundsError
_8304:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-704]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8308
	push	eax
	call	_bbGCFree
	add	esp,4
_8308:
	mov	eax,dword [ebp-704]
	mov	dword [eax+12],ebx
	push	_8309
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8311
	call	_brl_blitz_NullObjectError
_8311:
	push	1
	push	_510
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8313
	call	_brl_blitz_NullObjectError
_8313:
	mov	dword [ebp-708],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8316
	call	_brl_blitz_NullObjectError
_8316:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8319
	call	_brl_blitz_NullObjectError
_8319:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8322
	call	_brl_blitz_ArrayBoundsError
_8322:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8324
	call	_brl_blitz_NullObjectError
_8324:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8326
	call	_brl_blitz_ArrayBoundsError
_8326:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8328
	call	_brl_blitz_NullObjectError
_8328:
	mov	esi,dword [ebx+84]
	mov	ebx,13
	cmp	ebx,dword [esi+20]
	jb	_8331
	call	_brl_blitz_ArrayBoundsError
_8331:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-708]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8335
	push	eax
	call	_bbGCFree
	add	esp,4
_8335:
	mov	eax,dword [ebp-708]
	mov	dword [eax+12],ebx
	push	_8336
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8338
	call	_brl_blitz_NullObjectError
_8338:
	push	1
	push	_511
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8340
	call	_brl_blitz_NullObjectError
_8340:
	mov	dword [ebp-712],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8343
	call	_brl_blitz_NullObjectError
_8343:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8346
	call	_brl_blitz_NullObjectError
_8346:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8349
	call	_brl_blitz_ArrayBoundsError
_8349:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8351
	call	_brl_blitz_NullObjectError
_8351:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8353
	call	_brl_blitz_ArrayBoundsError
_8353:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8355
	call	_brl_blitz_NullObjectError
_8355:
	mov	esi,dword [ebx+84]
	mov	ebx,14
	cmp	ebx,dword [esi+20]
	jb	_8358
	call	_brl_blitz_ArrayBoundsError
_8358:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-712]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8362
	push	eax
	call	_bbGCFree
	add	esp,4
_8362:
	mov	eax,dword [ebp-712]
	mov	dword [eax+12],ebx
	push	_8363
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8365
	call	_brl_blitz_NullObjectError
_8365:
	push	1
	push	_512
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8367
	call	_brl_blitz_NullObjectError
_8367:
	mov	dword [ebp-716],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8370
	call	_brl_blitz_NullObjectError
_8370:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8373
	call	_brl_blitz_NullObjectError
_8373:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8376
	call	_brl_blitz_ArrayBoundsError
_8376:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8378
	call	_brl_blitz_NullObjectError
_8378:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8380
	call	_brl_blitz_ArrayBoundsError
_8380:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8382
	call	_brl_blitz_NullObjectError
_8382:
	mov	esi,dword [ebx+84]
	mov	ebx,15
	cmp	ebx,dword [esi+20]
	jb	_8385
	call	_brl_blitz_ArrayBoundsError
_8385:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-716]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8389
	push	eax
	call	_bbGCFree
	add	esp,4
_8389:
	mov	eax,dword [ebp-716]
	mov	dword [eax+12],ebx
	push	_8390
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-136]
	cmp	ebx,_bbNullObject
	jne	_8392
	call	_brl_blitz_NullObjectError
_8392:
	push	1
	push	_513
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8394
	call	_brl_blitz_NullObjectError
_8394:
	mov	dword [ebp-720],ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8397
	call	_brl_blitz_NullObjectError
_8397:
	mov	edi,dword [ebx+20]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8400
	call	_brl_blitz_NullObjectError
_8400:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-132]
	cmp	ebx,dword [esi+20]
	jb	_8403
	call	_brl_blitz_ArrayBoundsError
_8403:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8405
	call	_brl_blitz_NullObjectError
_8405:
	mov	ebx,dword [ebx+20]
	sub	ebx,1
	cmp	ebx,dword [edi+20]
	jb	_8407
	call	_brl_blitz_ArrayBoundsError
_8407:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8409
	call	_brl_blitz_NullObjectError
_8409:
	mov	esi,dword [ebx+84]
	mov	ebx,16
	cmp	ebx,dword [esi+20]
	jb	_8412
	call	_brl_blitz_ArrayBoundsError
_8412:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-720]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8416
	push	eax
	call	_bbGCFree
	add	esp,4
_8416:
	mov	eax,dword [ebp-720]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_7812:
	call	dword [_bbOnDebugLeaveScope]
_489:
	add	dword [ebp-132],1
_7802:
	mov	eax,dword [ebp-944]
	cmp	dword [ebp-132],eax
	jle	_491
_490:
	push	_8420
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-96]
	cmp	ebx,_bbNullObject
	jne	_8422
	call	_brl_blitz_NullObjectError
_8422:
	push	1
	push	_514
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-104],eax
	push	_8424
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-104]
	cmp	ebx,_bbNullObject
	jne	_8426
	call	_brl_blitz_NullObjectError
_8426:
	push	1
	push	_471
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_8428
	call	_brl_blitz_NullObjectError
_8428:
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8431
	call	_brl_blitz_NullObjectError
_8431:
	push	dword [ebx+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_8435
	push	eax
	call	_bbGCFree
	add	esp,4
_8435:
	mov	dword [esi+12],ebx
	push	_8436
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-140],0
	mov	dword [ebp-140],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8439
	call	_brl_blitz_NullObjectError
_8439:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-824],eax
	jmp	_8440
_517:
	mov	eax,ebp
	push	eax
	push	_8500
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_8442
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-104]
	cmp	ebx,_bbNullObject
	jne	_8444
	call	_brl_blitz_NullObjectError
_8444:
	push	1
	push	_518
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-144],eax
	push	_8446
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-144]
	cmp	ebx,_bbNullObject
	jne	_8448
	call	_brl_blitz_NullObjectError
_8448:
	push	1
	push	_493
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8450
	call	_brl_blitz_NullObjectError
_8450:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8453
	call	_brl_blitz_NullObjectError
_8453:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-140]
	cmp	ebx,dword [esi+20]
	jb	_8456
	call	_brl_blitz_ArrayBoundsError
_8456:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8458
	call	_brl_blitz_NullObjectError
_8458:
	push	dword [ebx+8]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8462
	push	eax
	call	_bbGCFree
	add	esp,4
_8462:
	mov	dword [edi+12],ebx
	push	_8463
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-144]
	cmp	ebx,_bbNullObject
	jne	_8465
	call	_brl_blitz_NullObjectError
_8465:
	push	1
	push	_494
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8467
	call	_brl_blitz_NullObjectError
_8467:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8470
	call	_brl_blitz_NullObjectError
_8470:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-140]
	cmp	ebx,dword [esi+20]
	jb	_8473
	call	_brl_blitz_ArrayBoundsError
_8473:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8475
	call	_brl_blitz_NullObjectError
_8475:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8479
	push	eax
	call	_bbGCFree
	add	esp,4
_8479:
	mov	dword [edi+12],ebx
	push	_8480
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-144]
	cmp	ebx,_bbNullObject
	jne	_8482
	call	_brl_blitz_NullObjectError
_8482:
	push	1
	push	_519
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8484
	call	_brl_blitz_NullObjectError
_8484:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8487
	call	_brl_blitz_NullObjectError
_8487:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-140]
	cmp	ebx,dword [esi+20]
	jb	_8490
	call	_brl_blitz_ArrayBoundsError
_8490:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8492
	call	_brl_blitz_NullObjectError
_8492:
	mov	esi,dword [ebx+16]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_8495
	call	_brl_blitz_ArrayBoundsError
_8495:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8499
	push	eax
	call	_bbGCFree
	add	esp,4
_8499:
	mov	dword [edi+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_515:
	add	dword [ebp-140],1
_8440:
	mov	eax,dword [ebp-824]
	cmp	dword [ebp-140],eax
	jle	_517
_516:
	push	_8502
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-96]
	cmp	ebx,_bbNullObject
	jne	_8504
	call	_brl_blitz_NullObjectError
_8504:
	push	1
	push	_520
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-108],eax
	push	_8506
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-108]
	cmp	ebx,_bbNullObject
	jne	_8508
	call	_brl_blitz_NullObjectError
_8508:
	push	1
	push	_471
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_8510
	call	_brl_blitz_NullObjectError
_8510:
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8513
	call	_brl_blitz_NullObjectError
_8513:
	push	dword [ebx+28]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_8517
	push	eax
	call	_bbGCFree
	add	esp,4
_8517:
	mov	dword [esi+12],ebx
	push	_8518
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-148],0
	mov	dword [ebp-148],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8521
	call	_brl_blitz_NullObjectError
_8521:
	mov	eax,dword [ebx+28]
	sub	eax,1
	mov	dword [ebp-868],eax
	jmp	_8522
_523:
	mov	eax,ebp
	push	eax
	push	_8613
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_8524
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-108]
	cmp	ebx,_bbNullObject
	jne	_8526
	call	_brl_blitz_NullObjectError
_8526:
	push	1
	push	_524
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-152],eax
	push	_8528
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-152]
	cmp	ebx,_bbNullObject
	jne	_8530
	call	_brl_blitz_NullObjectError
_8530:
	push	1
	push	_485
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8532
	call	_brl_blitz_NullObjectError
_8532:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8535
	call	_brl_blitz_NullObjectError
_8535:
	mov	esi,dword [ebx+36]
	mov	ebx,dword [ebp-148]
	cmp	ebx,dword [esi+20]
	jb	_8538
	call	_brl_blitz_ArrayBoundsError
_8538:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8540
	call	_brl_blitz_NullObjectError
_8540:
	push	dword [ebx+8]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8544
	push	eax
	call	_bbGCFree
	add	esp,4
_8544:
	mov	dword [edi+12],ebx
	push	_8545
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-152]
	cmp	ebx,_bbNullObject
	jne	_8547
	call	_brl_blitz_NullObjectError
_8547:
	push	1
	push	_525
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8549
	call	_brl_blitz_NullObjectError
_8549:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8552
	call	_brl_blitz_NullObjectError
_8552:
	mov	esi,dword [ebx+36]
	mov	ebx,dword [ebp-148]
	cmp	ebx,dword [esi+20]
	jb	_8555
	call	_brl_blitz_ArrayBoundsError
_8555:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8557
	call	_brl_blitz_NullObjectError
_8557:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8561
	push	eax
	call	_bbGCFree
	add	esp,4
_8561:
	mov	dword [edi+12],ebx
	push	_8562
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-152]
	cmp	ebx,_bbNullObject
	jne	_8564
	call	_brl_blitz_NullObjectError
_8564:
	push	1
	push	_526
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8566
	call	_brl_blitz_NullObjectError
_8566:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8569
	call	_brl_blitz_NullObjectError
_8569:
	mov	esi,dword [ebx+36]
	mov	ebx,dword [ebp-148]
	cmp	ebx,dword [esi+20]
	jb	_8572
	call	_brl_blitz_ArrayBoundsError
_8572:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8574
	call	_brl_blitz_NullObjectError
_8574:
	push	dword [ebx+16]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8578
	push	eax
	call	_bbGCFree
	add	esp,4
_8578:
	mov	dword [edi+12],ebx
	push	_8579
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-152]
	cmp	ebx,_bbNullObject
	jne	_8581
	call	_brl_blitz_NullObjectError
_8581:
	push	1
	push	_506
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8583
	call	_brl_blitz_NullObjectError
_8583:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8586
	call	_brl_blitz_NullObjectError
_8586:
	mov	esi,dword [ebx+36]
	mov	ebx,dword [ebp-148]
	cmp	ebx,dword [esi+20]
	jb	_8589
	call	_brl_blitz_ArrayBoundsError
_8589:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8591
	call	_brl_blitz_NullObjectError
_8591:
	push	dword [ebx+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8595
	push	eax
	call	_bbGCFree
	add	esp,4
_8595:
	mov	dword [edi+12],ebx
	push	_8596
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-152]
	cmp	ebx,_bbNullObject
	jne	_8598
	call	_brl_blitz_NullObjectError
_8598:
	push	1
	push	_507
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8600
	call	_brl_blitz_NullObjectError
_8600:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8603
	call	_brl_blitz_NullObjectError
_8603:
	mov	esi,dword [ebx+36]
	mov	ebx,dword [ebp-148]
	cmp	ebx,dword [esi+20]
	jb	_8606
	call	_brl_blitz_ArrayBoundsError
_8606:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8608
	call	_brl_blitz_NullObjectError
_8608:
	push	dword [ebx+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8612
	push	eax
	call	_bbGCFree
	add	esp,4
_8612:
	mov	dword [edi+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_521:
	add	dword [ebp-148],1
_8522:
	mov	eax,dword [ebp-868]
	cmp	dword [ebp-148],eax
	jle	_523
_522:
	push	_8615
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-112],eax
	push	_8617
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-112]
	cmp	ebx,_bbNullObject
	jne	_8619
	call	_brl_blitz_NullObjectError
_8619:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-116],eax
	push	_8621
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-116]
	cmp	esi,_bbNullObject
	jne	_8623
	call	_brl_blitz_NullObjectError
_8623:
	mov	ebx,_482
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_8628
	push	eax
	call	_bbGCFree
	add	esp,4
_8628:
	mov	dword [esi+8],ebx
	push	_8629
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_8631
	call	_brl_blitz_NullObjectError
_8631:
	push	1
	push	_465
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_8633
	call	_brl_blitz_NullObjectError
_8633:
	mov	ebx,_527
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_8638
	push	eax
	call	_bbGCFree
	add	esp,4
_8638:
	mov	dword [esi+12],ebx
	push	_8639
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_8641
	call	_brl_blitz_NullObjectError
_8641:
	push	1
	push	_528
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_8643
	call	_brl_blitz_NullObjectError
_8643:
	mov	ebx,_529
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_8648
	push	eax
	call	_bbGCFree
	add	esp,4
_8648:
	mov	dword [esi+12],ebx
	push	_8649
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_8651
	call	_brl_blitz_NullObjectError
_8651:
	push	1
	push	_530
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8653
	call	_brl_blitz_NullObjectError
_8653:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8656
	call	_brl_blitz_NullObjectError
_8656:
	mov	esi,dword [ebx+40]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_8659
	call	_brl_blitz_ArrayBoundsError
_8659:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8661
	call	_brl_blitz_NullObjectError
_8661:
	push	dword [ebx+8]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8665
	push	eax
	call	_bbGCFree
	add	esp,4
_8665:
	mov	dword [edi+12],ebx
	push	_8666
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_8668
	call	_brl_blitz_NullObjectError
_8668:
	push	1
	push	_531
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8670
	call	_brl_blitz_NullObjectError
_8670:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8673
	call	_brl_blitz_NullObjectError
_8673:
	mov	esi,dword [ebx+40]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_8676
	call	_brl_blitz_ArrayBoundsError
_8676:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8678
	call	_brl_blitz_NullObjectError
_8678:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8682
	push	eax
	call	_bbGCFree
	add	esp,4
_8682:
	mov	dword [edi+12],ebx
	push	_8683
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8685
	call	_brl_blitz_NullObjectError
_8685:
	mov	edi,dword [ebx+8]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8688
	call	_brl_blitz_NullObjectError
_8688:
	mov	esi,dword [ebx+56]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_8691
	call	_brl_blitz_ArrayBoundsError
_8691:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_8693
	call	_brl_blitz_ArrayBoundsError
_8693:
	cmp	dword [edi+ebx*4+24],_bbNullObject
	jne	_8694
	mov	eax,ebp
	push	eax
	push	_8729
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_8695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_8697
	call	_brl_blitz_NullObjectError
_8697:
	push	1
	push	_532
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8699
	call	_brl_blitz_NullObjectError
_8699:
	mov	edi,ebx
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8702
	call	_brl_blitz_NullObjectError
_8702:
	mov	esi,dword [ebx+8]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_8705
	call	_brl_blitz_ArrayBoundsError
_8705:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8707
	call	_brl_blitz_NullObjectError
_8707:
	push	dword [ebx+28]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8711
	push	eax
	call	_bbGCFree
	add	esp,4
_8711:
	mov	dword [edi+12],ebx
	push	_8712
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_8714
	call	_brl_blitz_NullObjectError
_8714:
	push	1
	push	_533
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8716
	call	_brl_blitz_NullObjectError
_8716:
	mov	edi,ebx
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8719
	call	_brl_blitz_NullObjectError
_8719:
	mov	esi,dword [ebx+8]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_8722
	call	_brl_blitz_ArrayBoundsError
_8722:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8724
	call	_brl_blitz_NullObjectError
_8724:
	push	dword [ebx+32]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8728
	push	eax
	call	_bbGCFree
	add	esp,4
_8728:
	mov	dword [edi+12],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_8730
_8694:
	mov	eax,ebp
	push	eax
	push	_8775
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_8731
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_8733
	call	_brl_blitz_NullObjectError
_8733:
	push	1
	push	_532
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8735
	call	_brl_blitz_NullObjectError
_8735:
	mov	dword [ebp-644],ebx
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8738
	call	_brl_blitz_NullObjectError
_8738:
	mov	edi,dword [ebx+8]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8741
	call	_brl_blitz_NullObjectError
_8741:
	mov	esi,dword [ebx+56]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_8744
	call	_brl_blitz_ArrayBoundsError
_8744:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_8746
	call	_brl_blitz_ArrayBoundsError
_8746:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8748
	call	_brl_blitz_NullObjectError
_8748:
	push	dword [ebx+28]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-644]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8752
	push	eax
	call	_bbGCFree
	add	esp,4
_8752:
	mov	eax,dword [ebp-644]
	mov	dword [eax+12],ebx
	push	_8753
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_8755
	call	_brl_blitz_NullObjectError
_8755:
	push	1
	push	_533
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8757
	call	_brl_blitz_NullObjectError
_8757:
	mov	dword [ebp-648],ebx
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8760
	call	_brl_blitz_NullObjectError
_8760:
	mov	edi,dword [ebx+8]
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8763
	call	_brl_blitz_NullObjectError
_8763:
	mov	esi,dword [ebx+56]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_8766
	call	_brl_blitz_ArrayBoundsError
_8766:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,dword [edi+20]
	jb	_8768
	call	_brl_blitz_ArrayBoundsError
_8768:
	mov	ebx,dword [edi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8770
	call	_brl_blitz_NullObjectError
_8770:
	push	dword [ebx+32]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-648]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8774
	push	eax
	call	_bbGCFree
	add	esp,4
_8774:
	mov	eax,dword [ebp-648]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_8730:
	push	_8776
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-120],eax
	push	_8778
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-4],0
	push	_8780
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-156],0
	mov	dword [ebp-156],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8783
	call	_brl_blitz_NullObjectError
_8783:
	mov	eax,dword [ebx+56]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-780],eax
	jmp	_8784
_536:
	mov	eax,ebp
	push	eax
	push	_8816
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_8786
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-4],0
	push	_8787
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-160],_bbEmptyString
	mov	edi,dword [ebp-120]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_8791
	call	_brl_blitz_NullObjectError
_8791:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-652],eax
	jmp	_537
_539:
	mov	ebx,dword [ebp-652]
	cmp	ebx,_bbNullObject
	jne	_8796
	call	_brl_blitz_NullObjectError
_8796:
	push	_bbStringClass
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-160],eax
	cmp	dword [ebp-160],_bbNullObject
	je	_537
	mov	eax,ebp
	push	eax
	push	_8806
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_8797
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8799
	call	_brl_blitz_NullObjectError
_8799:
	mov	esi,dword [ebx+56]
	mov	ebx,dword [ebp-156]
	cmp	ebx,dword [esi+20]
	jb	_8802
	call	_brl_blitz_ArrayBoundsError
_8802:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_1
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-160]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_8803
	mov	eax,ebp
	push	eax
	push	_8805
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_8804
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-4],1
	call	dword [_bbOnDebugLeaveScope]
_8803:
	call	dword [_bbOnDebugLeaveScope]
_537:
	mov	ebx,dword [ebp-652]
	cmp	ebx,_bbNullObject
	jne	_8794
	call	_brl_blitz_NullObjectError
_8794:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_539
_538:
	push	_8807
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_8808
	mov	eax,ebp
	push	eax
	push	_8815
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_8809
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_8811
	call	_brl_blitz_NullObjectError
_8811:
	mov	esi,dword [ebx+56]
	mov	ebx,dword [ebp-156]
	cmp	ebx,dword [esi+20]
	jb	_8814
	call	_brl_blitz_ArrayBoundsError
_8814:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_1
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-120]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_8808:
	call	dword [_bbOnDebugLeaveScope]
_534:
	add	dword [ebp-156],1
_8784:
	mov	eax,dword [ebp-780]
	cmp	dword [ebp-156],eax
	jle	_536
_535:
	push	_8817
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-124],0
	push	_8819
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8822
	call	_brl_blitz_NullObjectError
_8822:
	mov	eax,dword [ebx+8]
	push	dword [eax+20]
	push	_8820
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-128],eax
	push	_8824
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-164],_bbEmptyString
	mov	eax,dword [ebp-120]
	mov	dword [ebp-884],eax
	mov	ebx,dword [ebp-884]
	cmp	ebx,_bbNullObject
	jne	_8828
	call	_brl_blitz_NullObjectError
_8828:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-932],eax
	jmp	_540
_542:
	mov	ebx,dword [ebp-932]
	cmp	ebx,_bbNullObject
	jne	_8833
	call	_brl_blitz_NullObjectError
_8833:
	push	_bbStringClass
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-164],eax
	cmp	dword [ebp-164],_bbNullObject
	je	_540
	mov	eax,ebp
	push	eax
	push	_9013
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_8834
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	mov	eax,dword [ebp-128]
	cmp	ebx,dword [eax+20]
	jb	_8836
	call	_brl_blitz_ArrayBoundsError
_8836:
	mov	eax,dword [ebp-128]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-820],eax
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8839
	call	_brl_blitz_NullObjectError
_8839:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8842
	call	_brl_blitz_ArrayBoundsError
_8842:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8844
	call	_brl_blitz_NullObjectError
_8844:
	mov	eax,dword [ebx+16]
	mov	dword [ebp-776],eax
	cmp	dword [ebp-776],_bbNullObject
	jne	_8846
	call	_brl_blitz_NullObjectError
_8846:
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8848
	call	_brl_blitz_NullObjectError
_8848:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8851
	call	_brl_blitz_ArrayBoundsError
_8851:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-728],eax
	cmp	dword [ebp-728],_bbNullObject
	jne	_8853
	call	_brl_blitz_NullObjectError
_8853:
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8855
	call	_brl_blitz_NullObjectError
_8855:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8858
	call	_brl_blitz_ArrayBoundsError
_8858:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8860
	call	_brl_blitz_NullObjectError
_8860:
	mov	edi,dword [ebx+16]
	cmp	edi,_bbNullObject
	jne	_8862
	call	_brl_blitz_NullObjectError
_8862:
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8864
	call	_brl_blitz_NullObjectError
_8864:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8867
	call	_brl_blitz_ArrayBoundsError
_8867:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8869
	call	_brl_blitz_NullObjectError
_8869:
	mov	ecx,dword [ebp-124]
	mov	eax,dword [ebp-776]
	mov	eax,dword [eax+8]
	cdq
	mov	esi,dword [ebp-728]
	cdq
	idiv	dword [esi+28]
	mov	esi,eax
	mov	eax,dword [edi+12]
	cdq
	idiv	dword [ebx+32]
	imul	esi,eax
	imul	ecx,esi
	mov	eax,ecx
	add	eax,1
	mov	edx,dword [ebp-820]
	mov	dword [edx+24],eax
	push	_8870
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_8872
	call	_brl_blitz_NullObjectError
_8872:
	push	1
	push	_543
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-168],eax
	push	_8874
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-168]
	cmp	ebx,_bbNullObject
	jne	_8876
	call	_brl_blitz_NullObjectError
_8876:
	push	1
	push	_544
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8878
	call	_brl_blitz_NullObjectError
_8878:
	mov	dword [ebp-816],ebx
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8881
	call	_brl_blitz_NullObjectError
_8881:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8884
	call	_brl_blitz_ArrayBoundsError
_8884:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8886
	call	_brl_blitz_NullObjectError
_8886:
	mov	eax,dword [ebx+16]
	mov	dword [ebp-772],eax
	cmp	dword [ebp-772],_bbNullObject
	jne	_8888
	call	_brl_blitz_NullObjectError
_8888:
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8890
	call	_brl_blitz_NullObjectError
_8890:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8893
	call	_brl_blitz_ArrayBoundsError
_8893:
	mov	eax,dword [esi+ebx*4+24]
	mov	dword [ebp-724],eax
	cmp	dword [ebp-724],_bbNullObject
	jne	_8895
	call	_brl_blitz_NullObjectError
_8895:
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8897
	call	_brl_blitz_NullObjectError
_8897:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8900
	call	_brl_blitz_ArrayBoundsError
_8900:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8902
	call	_brl_blitz_NullObjectError
_8902:
	mov	edi,dword [ebx+16]
	cmp	edi,_bbNullObject
	jne	_8904
	call	_brl_blitz_NullObjectError
_8904:
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8906
	call	_brl_blitz_NullObjectError
_8906:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8909
	call	_brl_blitz_ArrayBoundsError
_8909:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8911
	call	_brl_blitz_NullObjectError
_8911:
	mov	ecx,dword [ebp-124]
	mov	eax,dword [ebp-772]
	mov	eax,dword [eax+8]
	cdq
	mov	esi,dword [ebp-724]
	cdq
	idiv	dword [esi+28]
	mov	esi,eax
	mov	eax,dword [edi+12]
	cdq
	idiv	dword [ebx+32]
	imul	esi,eax
	imul	ecx,esi
	mov	eax,ecx
	add	eax,1
	push	eax
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-816]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_8915
	push	eax
	call	_bbGCFree
	add	esp,4
_8915:
	mov	eax,dword [ebp-816]
	mov	dword [eax+12],ebx
	push	_8916
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-168]
	cmp	ebx,_bbNullObject
	jne	_8918
	call	_brl_blitz_NullObjectError
_8918:
	push	1
	push	_483
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_8920
	call	_brl_blitz_NullObjectError
_8920:
	mov	ebx,dword [ebp-164]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_8925
	push	eax
	call	_bbGCFree
	add	esp,4
_8925:
	mov	dword [esi+12],ebx
	push	_8926
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-168]
	cmp	ebx,_bbNullObject
	jne	_8928
	call	_brl_blitz_NullObjectError
_8928:
	push	1
	push	_532
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8930
	call	_brl_blitz_NullObjectError
_8930:
	mov	edi,ebx
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8933
	call	_brl_blitz_NullObjectError
_8933:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8936
	call	_brl_blitz_ArrayBoundsError
_8936:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8938
	call	_brl_blitz_NullObjectError
_8938:
	push	dword [ebx+28]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8942
	push	eax
	call	_bbGCFree
	add	esp,4
_8942:
	mov	dword [edi+12],ebx
	push	_8943
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-168]
	cmp	ebx,_bbNullObject
	jne	_8945
	call	_brl_blitz_NullObjectError
_8945:
	push	1
	push	_533
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8947
	call	_brl_blitz_NullObjectError
_8947:
	mov	edi,ebx
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8950
	call	_brl_blitz_NullObjectError
_8950:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8953
	call	_brl_blitz_ArrayBoundsError
_8953:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8955
	call	_brl_blitz_NullObjectError
_8955:
	push	dword [ebx+32]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8959
	push	eax
	call	_bbGCFree
	add	esp,4
_8959:
	mov	dword [edi+12],ebx
	push	_8960
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-168]
	cmp	ebx,_bbNullObject
	jne	_8962
	call	_brl_blitz_NullObjectError
_8962:
	push	1
	push	_545
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-172],eax
	push	_8964
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-172]
	cmp	ebx,_bbNullObject
	jne	_8966
	call	_brl_blitz_NullObjectError
_8966:
	push	1
	push	_485
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8968
	call	_brl_blitz_NullObjectError
_8968:
	push	_221
	push	dword [ebp-164]
	push	_546
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_8973
	push	eax
	call	_bbGCFree
	add	esp,4
_8973:
	mov	dword [ebx+12],esi
	push	_8974
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-172]
	cmp	ebx,_bbNullObject
	jne	_8976
	call	_brl_blitz_NullObjectError
_8976:
	push	1
	push	_530
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8978
	call	_brl_blitz_NullObjectError
_8978:
	mov	edi,ebx
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_8981
	call	_brl_blitz_NullObjectError
_8981:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_8984
	call	_brl_blitz_ArrayBoundsError
_8984:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_8986
	call	_brl_blitz_NullObjectError
_8986:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_8988
	call	_brl_blitz_NullObjectError
_8988:
	push	dword [ebx+8]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_8992
	push	eax
	call	_bbGCFree
	add	esp,4
_8992:
	mov	dword [edi+12],ebx
	push	_8993
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-172]
	cmp	ebx,_bbNullObject
	jne	_8995
	call	_brl_blitz_NullObjectError
_8995:
	push	1
	push	_531
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_8997
	call	_brl_blitz_NullObjectError
_8997:
	mov	edi,ebx
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_9000
	call	_brl_blitz_NullObjectError
_9000:
	mov	esi,dword [ebx+8]
	push	dword [ebp-164]
	call	_bbStringToInt
	add	esp,4
	mov	ebx,eax
	cmp	ebx,dword [esi+20]
	jb	_9003
	call	_brl_blitz_ArrayBoundsError
_9003:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9005
	call	_brl_blitz_NullObjectError
_9005:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_9007
	call	_brl_blitz_NullObjectError
_9007:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_9011
	push	eax
	call	_bbGCFree
	add	esp,4
_9011:
	mov	dword [edi+12],ebx
	push	_9012
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-124],1
	call	dword [_bbOnDebugLeaveScope]
_540:
	mov	ebx,dword [ebp-932]
	cmp	ebx,_bbNullObject
	jne	_8831
	call	_brl_blitz_NullObjectError
_8831:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_542
_541:
	push	_9016
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-176],0
	mov	dword [ebp-176],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9019
	call	_brl_blitz_NullObjectError
_9019:
	mov	eax,dword [ebx+40]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-928],eax
	jmp	_9020
_549:
	mov	eax,ebp
	push	eax
	push	_9216
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9022
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_9024
	call	_brl_blitz_NullObjectError
_9024:
	push	1
	push	_550
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-180],eax
	push	_9026
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-180]
	cmp	ebx,_bbNullObject
	jne	_9028
	call	_brl_blitz_NullObjectError
_9028:
	push	1
	push	_483
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_9030
	call	_brl_blitz_NullObjectError
_9030:
	push	dword [ebp-176]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9035
	push	eax
	call	_bbGCFree
	add	esp,4
_9035:
	mov	dword [esi+12],ebx
	push	_9036
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-180]
	cmp	ebx,_bbNullObject
	jne	_9038
	call	_brl_blitz_NullObjectError
_9038:
	push	1
	push	_530
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9040
	call	_brl_blitz_NullObjectError
_9040:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9043
	call	_brl_blitz_NullObjectError
_9043:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9046
	call	_brl_blitz_ArrayBoundsError
_9046:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9048
	call	_brl_blitz_NullObjectError
_9048:
	push	dword [ebx+8]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_9052
	push	eax
	call	_bbGCFree
	add	esp,4
_9052:
	mov	dword [edi+12],ebx
	push	_9053
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-180]
	cmp	ebx,_bbNullObject
	jne	_9055
	call	_brl_blitz_NullObjectError
_9055:
	push	1
	push	_531
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9057
	call	_brl_blitz_NullObjectError
_9057:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9060
	call	_brl_blitz_NullObjectError
_9060:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9063
	call	_brl_blitz_ArrayBoundsError
_9063:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9065
	call	_brl_blitz_NullObjectError
_9065:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_9069
	push	eax
	call	_bbGCFree
	add	esp,4
_9069:
	mov	dword [edi+12],ebx
	push	_9070
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-180]
	cmp	ebx,_bbNullObject
	jne	_9072
	call	_brl_blitz_NullObjectError
_9072:
	push	1
	push	_469
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-184],eax
	push	_9074
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-184]
	cmp	ebx,_bbNullObject
	jne	_9076
	call	_brl_blitz_NullObjectError
_9076:
	push	1
	push	_551
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_9078
	call	_brl_blitz_NullObjectError
_9078:
	mov	ebx,_552
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9083
	push	eax
	call	_bbGCFree
	add	esp,4
_9083:
	mov	dword [esi+12],ebx
	push	_9084
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9086
	call	_brl_blitz_NullObjectError
_9086:
	mov	esi,dword [ebx+56]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9089
	call	_brl_blitz_ArrayBoundsError
_9089:
	mov	ebx,dword [esi+ebx*4+24]
	mov	eax,dword [ebp-128]
	cmp	ebx,dword [eax+20]
	jb	_9091
	call	_brl_blitz_ArrayBoundsError
_9091:
	mov	eax,dword [ebp-128]
	mov	eax,dword [eax+ebx*4+24]
	mov	dword [ebp-188],eax
	push	_9093
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-192],0
	push	_9095
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-196],_bbEmptyString
	push	_9097
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-200],0
	mov	dword [ebp-200],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9100
	call	_brl_blitz_NullObjectError
_9100:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9103
	call	_brl_blitz_ArrayBoundsError
_9103:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9105
	call	_brl_blitz_NullObjectError
_9105:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_9106
_555:
	mov	eax,ebp
	push	eax
	push	_9206
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9108
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9110
	call	_brl_blitz_NullObjectError
_9110:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9113
	call	_brl_blitz_ArrayBoundsError
_9113:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9115
	call	_brl_blitz_NullObjectError
_9115:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	cmp	dword [ebp-200],eax
	je	_9116
	mov	eax,ebp
	push	eax
	push	_9160
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9117
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-176],0
	jle	_9118
	mov	eax,ebp
	push	eax
	push	_9146
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9119
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9121
	call	_brl_blitz_NullObjectError
_9121:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9124
	call	_brl_blitz_ArrayBoundsError
_9124:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9126
	call	_brl_blitz_NullObjectError
_9126:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-200]
	cmp	ebx,dword [esi+20]
	jb	_9129
	call	_brl_blitz_ArrayBoundsError
_9129:
	cmp	dword [esi+ebx*4+24],0
	jne	_9130
	mov	eax,ebp
	push	eax
	push	_9132
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9131
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_556
	push	dword [ebp-196]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-196],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9133
_9130:
	mov	eax,ebp
	push	eax
	push	_9145
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9134
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9136
	call	_brl_blitz_NullObjectError
_9136:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9139
	call	_brl_blitz_ArrayBoundsError
_9139:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9141
	call	_brl_blitz_NullObjectError
_9141:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-200]
	cmp	ebx,dword [esi+20]
	jb	_9144
	call	_brl_blitz_ArrayBoundsError
_9144:
	push	_557
	mov	eax,dword [ebp-188]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-196]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-196],eax
	call	dword [_bbOnDebugLeaveScope]
_9133:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9147
_9118:
	mov	eax,ebp
	push	eax
	push	_9159
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9148
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9150
	call	_brl_blitz_NullObjectError
_9150:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9153
	call	_brl_blitz_ArrayBoundsError
_9153:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9155
	call	_brl_blitz_NullObjectError
_9155:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-200]
	cmp	ebx,dword [esi+20]
	jb	_9158
	call	_brl_blitz_ArrayBoundsError
_9158:
	push	_557
	mov	eax,dword [ebp-188]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-196]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-196],eax
	call	dword [_bbOnDebugLeaveScope]
_9147:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9161
_9116:
	mov	eax,ebp
	push	eax
	push	_9205
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9162
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-176],0
	jle	_9163
	mov	eax,ebp
	push	eax
	push	_9191
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9164
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9166
	call	_brl_blitz_NullObjectError
_9166:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9169
	call	_brl_blitz_ArrayBoundsError
_9169:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9171
	call	_brl_blitz_NullObjectError
_9171:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-200]
	cmp	ebx,dword [esi+20]
	jb	_9174
	call	_brl_blitz_ArrayBoundsError
_9174:
	cmp	dword [esi+ebx*4+24],0
	jne	_9175
	mov	eax,ebp
	push	eax
	push	_9177
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9176
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_91
	push	dword [ebp-196]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-196],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9178
_9175:
	mov	eax,ebp
	push	eax
	push	_9190
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9179
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9181
	call	_brl_blitz_NullObjectError
_9181:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9184
	call	_brl_blitz_ArrayBoundsError
_9184:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9186
	call	_brl_blitz_NullObjectError
_9186:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-200]
	cmp	ebx,dword [esi+20]
	jb	_9189
	call	_brl_blitz_ArrayBoundsError
_9189:
	mov	eax,dword [ebp-188]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-196]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-196],eax
	call	dword [_bbOnDebugLeaveScope]
_9178:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9192
_9163:
	mov	eax,ebp
	push	eax
	push	_9204
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9193
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9195
	call	_brl_blitz_NullObjectError
_9195:
	mov	esi,dword [ebx+40]
	mov	ebx,dword [ebp-176]
	cmp	ebx,dword [esi+20]
	jb	_9198
	call	_brl_blitz_ArrayBoundsError
_9198:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9200
	call	_brl_blitz_NullObjectError
_9200:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-200]
	cmp	ebx,dword [esi+20]
	jb	_9203
	call	_brl_blitz_ArrayBoundsError
_9203:
	mov	eax,dword [ebp-188]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-196]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-196],eax
	call	dword [_bbOnDebugLeaveScope]
_9192:
	call	dword [_bbOnDebugLeaveScope]
_9161:
	call	dword [_bbOnDebugLeaveScope]
_553:
	add	dword [ebp-200],1
_9106:
	cmp	dword [ebp-200],edi
	jle	_555
_554:
	push	_9208
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-184]
	cmp	esi,_bbNullObject
	jne	_9210
	call	_brl_blitz_NullObjectError
_9210:
	mov	ebx,dword [ebp-196]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9215
	push	eax
	call	_bbGCFree
	add	esp,4
_9215:
	mov	dword [esi+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_547:
	add	dword [ebp-176],1
_9020:
	mov	eax,dword [ebp-928]
	cmp	dword [ebp-176],eax
	jle	_549
_548:
	push	_9221
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-204],0
	mov	dword [ebp-204],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9224
	call	_brl_blitz_NullObjectError
_9224:
	mov	eax,dword [ebx+44]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-936],eax
	jmp	_9225
_560:
	mov	eax,ebp
	push	eax
	push	_9427
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9227
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_9229
	call	_brl_blitz_NullObjectError
_9229:
	push	1
	push	_550
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-208],eax
	push	_9231
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-208]
	cmp	ebx,_bbNullObject
	jne	_9233
	call	_brl_blitz_NullObjectError
_9233:
	push	1
	push	_483
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9235
	call	_brl_blitz_NullObjectError
_9235:
	push	dword [ebp-204]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_561
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_9240
	push	eax
	call	_bbGCFree
	add	esp,4
_9240:
	mov	dword [ebx+12],esi
	push	_9241
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-208]
	cmp	ebx,_bbNullObject
	jne	_9243
	call	_brl_blitz_NullObjectError
_9243:
	push	1
	push	_530
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9245
	call	_brl_blitz_NullObjectError
_9245:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9248
	call	_brl_blitz_NullObjectError
_9248:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9251
	call	_brl_blitz_ArrayBoundsError
_9251:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9253
	call	_brl_blitz_NullObjectError
_9253:
	push	dword [ebx+8]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_9257
	push	eax
	call	_bbGCFree
	add	esp,4
_9257:
	mov	dword [edi+12],ebx
	push	_9258
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-208]
	cmp	ebx,_bbNullObject
	jne	_9260
	call	_brl_blitz_NullObjectError
_9260:
	push	1
	push	_531
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9262
	call	_brl_blitz_NullObjectError
_9262:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9265
	call	_brl_blitz_NullObjectError
_9265:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9268
	call	_brl_blitz_ArrayBoundsError
_9268:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9270
	call	_brl_blitz_NullObjectError
_9270:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_9274
	push	eax
	call	_bbGCFree
	add	esp,4
_9274:
	mov	dword [edi+12],ebx
	push	_9275
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-208]
	cmp	ebx,_bbNullObject
	jne	_9277
	call	_brl_blitz_NullObjectError
_9277:
	push	1
	push	_469
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-212],eax
	push	_9279
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-212]
	cmp	ebx,_bbNullObject
	jne	_9281
	call	_brl_blitz_NullObjectError
_9281:
	push	1
	push	_551
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_9283
	call	_brl_blitz_NullObjectError
_9283:
	mov	ebx,_552
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9288
	push	eax
	call	_bbGCFree
	add	esp,4
_9288:
	mov	dword [esi+12],ebx
	push	_9289
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-216],0
	push	_9291
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-220],0
	push	_9293
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-224],_bbEmptyString
	push	_9295
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-228],0
	mov	dword [ebp-228],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9298
	call	_brl_blitz_NullObjectError
_9298:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9301
	call	_brl_blitz_ArrayBoundsError
_9301:
	mov	edi,dword [esi+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_9303
	call	_brl_blitz_NullObjectError
_9303:
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9305
	call	_brl_blitz_NullObjectError
_9305:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9308
	call	_brl_blitz_ArrayBoundsError
_9308:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9310
	call	_brl_blitz_NullObjectError
_9310:
	mov	eax,dword [edi+8]
	imul	eax,dword [ebx+12]
	sub	eax,1
	mov	dword [ebp-876],eax
	jmp	_9311
_564:
	mov	eax,ebp
	push	eax
	push	_9418
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9313
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9315
	call	_brl_blitz_NullObjectError
_9315:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9318
	call	_brl_blitz_ArrayBoundsError
_9318:
	mov	edi,dword [esi+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_9320
	call	_brl_blitz_NullObjectError
_9320:
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9322
	call	_brl_blitz_NullObjectError
_9322:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9325
	call	_brl_blitz_ArrayBoundsError
_9325:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9327
	call	_brl_blitz_NullObjectError
_9327:
	mov	eax,dword [edi+8]
	imul	eax,dword [ebx+12]
	sub	eax,1
	cmp	dword [ebp-228],eax
	je	_9328
	mov	eax,ebp
	push	eax
	push	_9372
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9329
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-204],0
	jle	_9330
	mov	eax,ebp
	push	eax
	push	_9358
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9331
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9333
	call	_brl_blitz_NullObjectError
_9333:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9336
	call	_brl_blitz_ArrayBoundsError
_9336:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9338
	call	_brl_blitz_NullObjectError
_9338:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-228]
	cmp	ebx,dword [esi+20]
	jb	_9341
	call	_brl_blitz_ArrayBoundsError
_9341:
	cmp	dword [esi+ebx*4+24],0
	jne	_9342
	mov	eax,ebp
	push	eax
	push	_9344
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9343
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_556
	push	dword [ebp-224]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-224],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9345
_9342:
	mov	eax,ebp
	push	eax
	push	_9357
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9346
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9348
	call	_brl_blitz_NullObjectError
_9348:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9351
	call	_brl_blitz_ArrayBoundsError
_9351:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9353
	call	_brl_blitz_NullObjectError
_9353:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-228]
	cmp	ebx,dword [esi+20]
	jb	_9356
	call	_brl_blitz_ArrayBoundsError
_9356:
	push	_557
	mov	eax,dword [ebp-216]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-224]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-224],eax
	call	dword [_bbOnDebugLeaveScope]
_9345:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9359
_9330:
	mov	eax,ebp
	push	eax
	push	_9371
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9360
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9362
	call	_brl_blitz_NullObjectError
_9362:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9365
	call	_brl_blitz_ArrayBoundsError
_9365:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9367
	call	_brl_blitz_NullObjectError
_9367:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-228]
	cmp	ebx,dword [esi+20]
	jb	_9370
	call	_brl_blitz_ArrayBoundsError
_9370:
	push	_557
	mov	eax,dword [ebp-216]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-224]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-224],eax
	call	dword [_bbOnDebugLeaveScope]
_9359:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9373
_9328:
	mov	eax,ebp
	push	eax
	push	_9417
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9374
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-204],0
	jle	_9375
	mov	eax,ebp
	push	eax
	push	_9403
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9376
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9378
	call	_brl_blitz_NullObjectError
_9378:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9381
	call	_brl_blitz_ArrayBoundsError
_9381:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9383
	call	_brl_blitz_NullObjectError
_9383:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-228]
	cmp	ebx,dword [esi+20]
	jb	_9386
	call	_brl_blitz_ArrayBoundsError
_9386:
	cmp	dword [esi+ebx*4+24],0
	jne	_9387
	mov	eax,ebp
	push	eax
	push	_9389
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9388
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_91
	push	dword [ebp-224]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-224],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9390
_9387:
	mov	eax,ebp
	push	eax
	push	_9402
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9391
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9393
	call	_brl_blitz_NullObjectError
_9393:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9396
	call	_brl_blitz_ArrayBoundsError
_9396:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9398
	call	_brl_blitz_NullObjectError
_9398:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-228]
	cmp	ebx,dword [esi+20]
	jb	_9401
	call	_brl_blitz_ArrayBoundsError
_9401:
	mov	eax,dword [ebp-216]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-224]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-224],eax
	call	dword [_bbOnDebugLeaveScope]
_9390:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9404
_9375:
	mov	eax,ebp
	push	eax
	push	_9416
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9405
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9407
	call	_brl_blitz_NullObjectError
_9407:
	mov	esi,dword [ebx+44]
	mov	ebx,dword [ebp-204]
	cmp	ebx,dword [esi+20]
	jb	_9410
	call	_brl_blitz_ArrayBoundsError
_9410:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9412
	call	_brl_blitz_NullObjectError
_9412:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-228]
	cmp	ebx,dword [esi+20]
	jb	_9415
	call	_brl_blitz_ArrayBoundsError
_9415:
	mov	eax,dword [ebp-216]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-224]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-224],eax
	call	dword [_bbOnDebugLeaveScope]
_9404:
	call	dword [_bbOnDebugLeaveScope]
_9373:
	call	dword [_bbOnDebugLeaveScope]
_562:
	add	dword [ebp-228],1
_9311:
	mov	eax,dword [ebp-876]
	cmp	dword [ebp-228],eax
	jle	_564
_563:
	push	_9419
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-212]
	cmp	esi,_bbNullObject
	jne	_9421
	call	_brl_blitz_NullObjectError
_9421:
	mov	ebx,dword [ebp-224]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9426
	push	eax
	call	_bbGCFree
	add	esp,4
_9426:
	mov	dword [esi+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_558:
	add	dword [ebp-204],1
_9225:
	mov	eax,dword [ebp-936]
	cmp	dword [ebp-204],eax
	jle	_560
_559:
	push	_9428
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-232],0
	mov	dword [ebp-232],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9431
	call	_brl_blitz_NullObjectError
_9431:
	mov	eax,dword [ebx+48]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-924],eax
	jmp	_9432
_567:
	mov	eax,ebp
	push	eax
	push	_9620
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9434
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-116]
	cmp	ebx,_bbNullObject
	jne	_9436
	call	_brl_blitz_NullObjectError
_9436:
	push	1
	push	_550
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-236],eax
	push	_9438
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-236]
	cmp	ebx,_bbNullObject
	jne	_9440
	call	_brl_blitz_NullObjectError
_9440:
	push	1
	push	_483
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9442
	call	_brl_blitz_NullObjectError
_9442:
	push	dword [ebp-232]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_568
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_9447
	push	eax
	call	_bbGCFree
	add	esp,4
_9447:
	mov	dword [ebx+12],esi
	push	_9448
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-236]
	cmp	ebx,_bbNullObject
	jne	_9450
	call	_brl_blitz_NullObjectError
_9450:
	push	1
	push	_530
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9452
	call	_brl_blitz_NullObjectError
_9452:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9455
	call	_brl_blitz_NullObjectError
_9455:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9458
	call	_brl_blitz_ArrayBoundsError
_9458:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9460
	call	_brl_blitz_NullObjectError
_9460:
	push	dword [ebx+8]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_9464
	push	eax
	call	_bbGCFree
	add	esp,4
_9464:
	mov	dword [edi+12],ebx
	push	_9465
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-236]
	cmp	ebx,_bbNullObject
	jne	_9467
	call	_brl_blitz_NullObjectError
_9467:
	push	1
	push	_531
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9469
	call	_brl_blitz_NullObjectError
_9469:
	mov	edi,ebx
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9472
	call	_brl_blitz_NullObjectError
_9472:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9475
	call	_brl_blitz_ArrayBoundsError
_9475:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9477
	call	_brl_blitz_NullObjectError
_9477:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_9481
	push	eax
	call	_bbGCFree
	add	esp,4
_9481:
	mov	dword [edi+12],ebx
	push	_9482
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-236]
	cmp	ebx,_bbNullObject
	jne	_9484
	call	_brl_blitz_NullObjectError
_9484:
	push	1
	push	_469
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-240],eax
	push	_9486
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-240]
	cmp	ebx,_bbNullObject
	jne	_9488
	call	_brl_blitz_NullObjectError
_9488:
	push	1
	push	_551
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_9490
	call	_brl_blitz_NullObjectError
_9490:
	mov	ebx,_552
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9495
	push	eax
	call	_bbGCFree
	add	esp,4
_9495:
	mov	dword [esi+12],ebx
	push	_9496
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-244],0
	push	_9498
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-248],0
	push	_9500
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-252],_bbEmptyString
	push	_9502
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-256],0
	mov	dword [ebp-256],0
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9505
	call	_brl_blitz_NullObjectError
_9505:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9508
	call	_brl_blitz_ArrayBoundsError
_9508:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9510
	call	_brl_blitz_NullObjectError
_9510:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	edi,eax
	jmp	_9511
_571:
	mov	eax,ebp
	push	eax
	push	_9611
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9513
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9515
	call	_brl_blitz_NullObjectError
_9515:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9518
	call	_brl_blitz_ArrayBoundsError
_9518:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9520
	call	_brl_blitz_NullObjectError
_9520:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	cmp	dword [ebp-256],eax
	je	_9521
	mov	eax,ebp
	push	eax
	push	_9565
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9522
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-232],0
	jle	_9523
	mov	eax,ebp
	push	eax
	push	_9551
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9524
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9526
	call	_brl_blitz_NullObjectError
_9526:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9529
	call	_brl_blitz_ArrayBoundsError
_9529:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9531
	call	_brl_blitz_NullObjectError
_9531:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-256]
	cmp	ebx,dword [esi+20]
	jb	_9534
	call	_brl_blitz_ArrayBoundsError
_9534:
	cmp	dword [esi+ebx*4+24],0
	jne	_9535
	mov	eax,ebp
	push	eax
	push	_9537
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9536
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_556
	push	dword [ebp-252]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-252],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9538
_9535:
	mov	eax,ebp
	push	eax
	push	_9550
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9539
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9541
	call	_brl_blitz_NullObjectError
_9541:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9544
	call	_brl_blitz_ArrayBoundsError
_9544:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9546
	call	_brl_blitz_NullObjectError
_9546:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-256]
	cmp	ebx,dword [esi+20]
	jb	_9549
	call	_brl_blitz_ArrayBoundsError
_9549:
	push	_557
	mov	eax,dword [ebp-244]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-252]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-252],eax
	call	dword [_bbOnDebugLeaveScope]
_9538:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9552
_9523:
	mov	eax,ebp
	push	eax
	push	_9564
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9553
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9555
	call	_brl_blitz_NullObjectError
_9555:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9558
	call	_brl_blitz_ArrayBoundsError
_9558:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9560
	call	_brl_blitz_NullObjectError
_9560:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-256]
	cmp	ebx,dword [esi+20]
	jb	_9563
	call	_brl_blitz_ArrayBoundsError
_9563:
	push	_557
	mov	eax,dword [ebp-244]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-252]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-252],eax
	call	dword [_bbOnDebugLeaveScope]
_9552:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9566
_9521:
	mov	eax,ebp
	push	eax
	push	_9610
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9567
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-232],0
	jle	_9568
	mov	eax,ebp
	push	eax
	push	_9596
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9569
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9571
	call	_brl_blitz_NullObjectError
_9571:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9574
	call	_brl_blitz_ArrayBoundsError
_9574:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9576
	call	_brl_blitz_NullObjectError
_9576:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-256]
	cmp	ebx,dword [esi+20]
	jb	_9579
	call	_brl_blitz_ArrayBoundsError
_9579:
	cmp	dword [esi+ebx*4+24],0
	jne	_9580
	mov	eax,ebp
	push	eax
	push	_9582
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9581
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_91
	push	dword [ebp-252]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-252],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9583
_9580:
	mov	eax,ebp
	push	eax
	push	_9595
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9584
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9586
	call	_brl_blitz_NullObjectError
_9586:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9589
	call	_brl_blitz_ArrayBoundsError
_9589:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9591
	call	_brl_blitz_NullObjectError
_9591:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-256]
	cmp	ebx,dword [esi+20]
	jb	_9594
	call	_brl_blitz_ArrayBoundsError
_9594:
	mov	eax,dword [ebp-244]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-252]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-252],eax
	call	dword [_bbOnDebugLeaveScope]
_9583:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9597
_9568:
	mov	eax,ebp
	push	eax
	push	_9609
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9598
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9600
	call	_brl_blitz_NullObjectError
_9600:
	mov	esi,dword [ebx+48]
	mov	ebx,dword [ebp-232]
	cmp	ebx,dword [esi+20]
	jb	_9603
	call	_brl_blitz_ArrayBoundsError
_9603:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9605
	call	_brl_blitz_NullObjectError
_9605:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-256]
	cmp	ebx,dword [esi+20]
	jb	_9608
	call	_brl_blitz_ArrayBoundsError
_9608:
	mov	eax,dword [ebp-244]
	add	eax,dword [esi+ebx*4+24]
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-252]
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-252],eax
	call	dword [_bbOnDebugLeaveScope]
_9597:
	call	dword [_bbOnDebugLeaveScope]
_9566:
	call	dword [_bbOnDebugLeaveScope]
_569:
	add	dword [ebp-256],1
_9511:
	cmp	dword [ebp-256],edi
	jle	_571
_570:
	push	_9612
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-240]
	cmp	esi,_bbNullObject
	jne	_9614
	call	_brl_blitz_NullObjectError
_9614:
	mov	ebx,dword [ebp-252]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9619
	push	eax
	call	_bbGCFree
	add	esp,4
_9619:
	mov	dword [esi+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_565:
	add	dword [ebp-232],1
_9432:
	mov	eax,dword [ebp-924]
	cmp	dword [ebp-232],eax
	jle	_567
_566:
	push	_9621
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_9622
	mov	eax,ebp
	push	eax
	push	_9627
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9623
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-92]
	cmp	ebx,_bbNullObject
	jne	_9625
	call	_brl_blitz_NullObjectError
_9625:
	push	dword [ebx+60]
	push	_572
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_9626
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_9622:
	push	_9628
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_573
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_9629
	mov	eax,ebp
	push	eax
	push	_9631
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9630
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_573
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_9629:
	push	_9632
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-112]
	cmp	ebx,_bbNullObject
	jne	_9634
	call	_brl_blitz_NullObjectError
_9634:
	push	1
	push	_487
	push	dword [ebp-32]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_575
	push	_574
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	push	_9635
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-32],1
	call	dword [_bbOnDebugLeaveScope]
_479:
	mov	ebx,dword [ebp-952]
	cmp	ebx,_bbNullObject
	jne	_7743
	call	_brl_blitz_NullObjectError
_7743:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_481
_480:
	push	_9647
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_9649
	call	_brl_blitz_NullObjectError
_9649:
	push	1
	push	_576
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-44],eax
	push	_9651
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	cmp	ebx,_bbNullObject
	jne	_9653
	call	_brl_blitz_NullObjectError
_9653:
	push	1
	push	_577
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-48],eax
	push	_9655
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_9657
	call	_brl_blitz_NullObjectError
_9657:
	push	1
	push	_578
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-52],eax
	push	_9659
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_9660
	mov	eax,ebp
	push	eax
	push	_9663
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9661
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_579
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_9662
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_9660:
	push	_9664
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-260],0
	mov	dword [ebp-260],0
	jmp	_9666
_582:
	mov	eax,ebp
	push	eax
	push	_9715
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9667
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-260]
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_9669
	call	_brl_blitz_ArrayBoundsError
_9669:
	mov	eax,dword [_bb_MasterPalette]
	cmp	dword [eax+ebx*4+24],_bbNullObject
	je	_9670
	mov	eax,ebp
	push	eax
	push	_9711
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9671
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-52]
	cmp	ebx,_bbNullObject
	jne	_9673
	call	_brl_blitz_NullObjectError
_9673:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-264],eax
	push	_9675
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-268],eax
	push	_9677
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-268]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-272],eax
	push	_9679
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-276],0
	mov	dword [ebp-276],0
	jmp	_9681
_586:
	mov	eax,ebp
	push	eax
	push	_9700
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9682
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-260]
	mov	eax,dword [_bb_MasterPalette]
	cmp	ebx,dword [eax+20]
	jb	_9684
	call	_brl_blitz_ArrayBoundsError
_9684:
	mov	eax,dword [_bb_MasterPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9686
	call	_brl_blitz_NullObjectError
_9686:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-276]
	cmp	ebx,dword [esi+20]
	jb	_9689
	call	_brl_blitz_ArrayBoundsError
_9689:
	push	dword [esi+ebx*4+24]
	call	_bb_IntToRGBA
	add	esp,4
	mov	dword [ebp-280],eax
	push	_9691
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-280]
	cmp	ebx,dword [eax+20]
	jb	_9693
	call	_brl_blitz_ArrayBoundsError
_9693:
	mov	eax,dword [ebp-280]
	push	dword [eax+ebx*4+24]
	push	dword [ebp-272]
	call	_brl_stream_WriteByte
	add	esp,8
	push	_9694
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-280]
	cmp	ebx,dword [eax+20]
	jb	_9696
	call	_brl_blitz_ArrayBoundsError
_9696:
	mov	eax,dword [ebp-280]
	push	dword [eax+ebx*4+24]
	push	dword [ebp-272]
	call	_brl_stream_WriteByte
	add	esp,8
	push	_9697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-280]
	cmp	ebx,dword [eax+20]
	jb	_9699
	call	_brl_blitz_ArrayBoundsError
_9699:
	mov	eax,dword [ebp-280]
	push	dword [eax+ebx*4+24]
	push	dword [ebp-272]
	call	_brl_stream_WriteByte
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_584:
	add	dword [ebp-276],1
_9681:
	cmp	dword [ebp-276],255
	jle	_586
_585:
	push	_9701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-264]
	cmp	ebx,_bbNullObject
	jne	_9703
	call	_brl_blitz_NullObjectError
_9703:
	mov	esi,dword [ebp-268]
	cmp	esi,_bbNullObject
	jne	_9706
	call	_brl_blitz_NullObjectError
_9706:
	push	8
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [ebp-268]
	lea	eax,dword [eax+8]
	push	eax
	call	dword [_bah_base64_TBase64+48]
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_9710
	push	eax
	call	_bbGCFree
	add	esp,4
_9710:
	mov	dword [ebx+12],esi
	call	dword [_bbOnDebugLeaveScope]
_9670:
	call	dword [_bbOnDebugLeaveScope]
_580:
	add	dword [ebp-260],1
_9666:
	cmp	dword [ebp-260],255
	jle	_582
_581:
	push	_9716
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_9717
	mov	eax,ebp
	push	eax
	push	_9720
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9718
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_587
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_9719
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_9717:
	push	_9721
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_9723
	call	_brl_blitz_NullObjectError
_9723:
	push	1
	push	_588
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-56],eax
	push	_9725
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-60],0
	push	_9727
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-284],0
	mov	dword [ebp-284],0
	jmp	_9729
_591:
	mov	eax,ebp
	push	eax
	push	_9804
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9730
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-284]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_9732
	call	_brl_blitz_ArrayBoundsError
_9732:
	mov	eax,dword [_bb_DefPalette]
	cmp	dword [eax+ebx*4+24],_bbNullObject
	je	_9733
	mov	eax,ebp
	push	eax
	push	_9799
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9734
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-56]
	cmp	ebx,_bbNullObject
	jne	_9736
	call	_brl_blitz_NullObjectError
_9736:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-288],eax
	push	_9738
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-288]
	cmp	ebx,_bbNullObject
	jne	_9740
	call	_brl_blitz_NullObjectError
_9740:
	push	1
	push	_476
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_9742
	call	_brl_blitz_NullObjectError
_9742:
	push	dword [ebp-284]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9747
	push	eax
	call	_bbGCFree
	add	esp,4
_9747:
	mov	dword [esi+12],ebx
	push	_9748
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-292],_bbEmptyString
	push	_9750
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-296],0
	mov	dword [ebp-296],0
	jmp	_9752
_594:
	mov	eax,ebp
	push	eax
	push	_9789
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9753
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-284]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_9755
	call	_brl_blitz_ArrayBoundsError
_9755:
	mov	eax,dword [_bb_DefPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9757
	call	_brl_blitz_NullObjectError
_9757:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-296]
	cmp	ebx,dword [esi+20]
	jb	_9760
	call	_brl_blitz_ArrayBoundsError
_9760:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_595
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_9761
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-284]
	mov	eax,dword [_bb_DefPalette]
	cmp	ebx,dword [eax+20]
	jb	_9763
	call	_brl_blitz_ArrayBoundsError
_9763:
	mov	eax,dword [_bb_DefPalette]
	mov	ebx,dword [eax+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9765
	call	_brl_blitz_NullObjectError
_9765:
	mov	esi,dword [ebx+12]
	mov	ebx,dword [ebp-296]
	cmp	ebx,dword [esi+20]
	jb	_9768
	call	_brl_blitz_ArrayBoundsError
_9768:
	push	dword [esi+ebx*4+24]
	call	_bb_IntToRGBA
	add	esp,4
	mov	dword [ebp-300],eax
	push	_9770
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-296],255
	jne	_9771
	mov	eax,ebp
	push	eax
	push	_9779
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9772
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,0
	mov	eax,dword [ebp-300]
	cmp	edi,dword [eax+20]
	jb	_9774
	call	_brl_blitz_ArrayBoundsError
_9774:
	mov	esi,1
	mov	eax,dword [ebp-300]
	cmp	esi,dword [eax+20]
	jb	_9776
	call	_brl_blitz_ArrayBoundsError
_9776:
	mov	ebx,2
	mov	eax,dword [ebp-300]
	cmp	ebx,dword [eax+20]
	jb	_9778
	call	_brl_blitz_ArrayBoundsError
_9778:
	mov	eax,dword [ebp-300]
	push	dword [eax+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_557
	mov	eax,dword [ebp-300]
	push	dword [eax+esi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_557
	mov	eax,dword [ebp-300]
	push	dword [eax+edi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-292]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-292],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9780
_9771:
	mov	eax,ebp
	push	eax
	push	_9788
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9781
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,0
	mov	eax,dword [ebp-300]
	cmp	edi,dword [eax+20]
	jb	_9783
	call	_brl_blitz_ArrayBoundsError
_9783:
	mov	esi,1
	mov	eax,dword [ebp-300]
	cmp	esi,dword [eax+20]
	jb	_9785
	call	_brl_blitz_ArrayBoundsError
_9785:
	mov	ebx,2
	mov	eax,dword [ebp-300]
	cmp	ebx,dword [eax+20]
	jb	_9787
	call	_brl_blitz_ArrayBoundsError
_9787:
	push	_557
	mov	eax,dword [ebp-300]
	push	dword [eax+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_557
	mov	eax,dword [ebp-300]
	push	dword [eax+esi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_557
	mov	eax,dword [ebp-300]
	push	dword [eax+edi*4+24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	dword [ebp-292]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-292],eax
	call	dword [_bbOnDebugLeaveScope]
_9780:
	call	dword [_bbOnDebugLeaveScope]
_592:
	add	dword [ebp-296],1
_9752:
	cmp	dword [ebp-296],255
	jle	_594
_593:
	push	_9790
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-288]
	cmp	esi,_bbNullObject
	jne	_9792
	call	_brl_blitz_NullObjectError
_9792:
	mov	ebx,dword [ebp-292]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9797
	push	eax
	call	_bbGCFree
	add	esp,4
_9797:
	mov	dword [esi+12],ebx
	push	_9798
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	add	dword [ebp-60],1
	call	dword [_bbOnDebugLeaveScope]
	jmp	_9801
_9733:
	mov	eax,ebp
	push	eax
	push	_9803
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9802
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_589
_9801:
	call	dword [_bbOnDebugLeaveScope]
_589:
	add	dword [ebp-284],1
_9729:
	cmp	dword [ebp-284],255
	jle	_591
_590:
	push	_9805
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-56]
	cmp	ebx,_bbNullObject
	jne	_9807
	call	_brl_blitz_NullObjectError
_9807:
	push	1
	push	_471
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_9809
	call	_brl_blitz_NullObjectError
_9809:
	push	dword [ebp-60]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9814
	push	eax
	call	_bbGCFree
	add	esp,4
_9814:
	mov	dword [esi+12],ebx
	push	_9815
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_9816
	mov	eax,ebp
	push	eax
	push	_9819
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9817
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_596
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_9818
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_9816:
	push	_9820
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	cmp	ebx,_bbNullObject
	jne	_9822
	call	_brl_blitz_NullObjectError
_9822:
	push	1
	push	_597
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-64],eax
	push	_9824
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-304],0
	mov	dword [ebp-304],0
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_9827
	call	_brl_blitz_NullObjectError
_9827:
	mov	eax,dword [ebx+12]
	sub	eax,1
	mov	edi,eax
	jmp	_9828
_600:
	mov	eax,ebp
	push	eax
	push	_9877
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9830
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_9831
	mov	eax,ebp
	push	eax
	push	_9834
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9832
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-304]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_601
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_9833
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_9831:
	push	_9835
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-64]
	cmp	ebx,_bbNullObject
	jne	_9837
	call	_brl_blitz_NullObjectError
_9837:
	push	1
	push	_602
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-308],eax
	push	_9839
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-308]
	cmp	ebx,_bbNullObject
	jne	_9841
	call	_brl_blitz_NullObjectError
_9841:
	push	1
	push	_476
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9843
	call	_brl_blitz_NullObjectError
_9843:
	mov	esi,ebx
	push	dword [ebp-304]
	call	_bbStringFromInt
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9848
	push	eax
	call	_bbGCFree
	add	esp,4
_9848:
	mov	dword [esi+12],ebx
	push	_9849
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-312],eax
	push	_9851
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-308]
	cmp	ebx,_bbNullObject
	jne	_9853
	call	_brl_blitz_NullObjectError
_9853:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-316],eax
	push	_9855
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_9856
	mov	eax,ebp
	push	eax
	push	_9858
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9857
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_9856:
	push	_9859
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_TileSState]
	cmp	ebx,_bbNullObject
	jne	_9861
	call	_brl_blitz_NullObjectError
_9861:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-304]
	cmp	ebx,dword [esi+20]
	jb	_9864
	call	_brl_blitz_ArrayBoundsError
_9864:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9866
	call	_brl_blitz_NullObjectError
_9866:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_9868
	call	_brl_blitz_NullObjectError
_9868:
	push	5
	push	_221
	push	dword [ebp-304]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_546
	push	_604
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	push	_9869
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-316]
	cmp	ebx,_bbNullObject
	jne	_9871
	call	_brl_blitz_NullObjectError
_9871:
	mov	esi,ebx
	push	_221
	push	dword [ebp-304]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_546
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9876
	push	eax
	call	_bbGCFree
	add	esp,4
_9876:
	mov	dword [esi+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_598:
	add	dword [ebp-304],1
_9828:
	cmp	dword [ebp-304],edi
	jle	_600
_599:
	push	_9881
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	cmp	ebx,_bbNullObject
	jne	_9883
	call	_brl_blitz_NullObjectError
_9883:
	push	1
	push	_605
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-68],eax
	push	_9885
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-68]
	cmp	ebx,_bbNullObject
	jne	_9887
	call	_brl_blitz_NullObjectError
_9887:
	push	1
	push	_471
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_9889
	call	_brl_blitz_NullObjectError
_9889:
	mov	ebx,dword [_bb_BackdropSet]
	cmp	ebx,_bbNullObject
	jne	_9892
	call	_brl_blitz_NullObjectError
_9892:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9896
	push	eax
	call	_bbGCFree
	add	esp,4
_9896:
	mov	dword [esi+12],ebx
	push	_9897
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-320],0
	mov	dword [ebp-320],0
	mov	ebx,dword [_bb_BackdropSet]
	cmp	ebx,_bbNullObject
	jne	_9900
	call	_brl_blitz_NullObjectError
_9900:
	mov	eax,dword [ebx+12]
	sub	eax,1
	mov	edi,eax
	jmp	_9901
_608:
	mov	eax,ebp
	push	eax
	push	_9952
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9903
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_9904
	mov	eax,ebp
	push	eax
	push	_9907
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9905
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-320]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_609
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_9906
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_9904:
	push	_9908
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-68]
	cmp	ebx,_bbNullObject
	jne	_9910
	call	_brl_blitz_NullObjectError
_9910:
	push	1
	push	_602
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-324],eax
	push	_9912
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-324]
	cmp	ebx,_bbNullObject
	jne	_9914
	call	_brl_blitz_NullObjectError
_9914:
	push	1
	push	_476
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9916
	call	_brl_blitz_NullObjectError
_9916:
	mov	esi,ebx
	push	dword [ebp-320]
	call	_bbStringFromInt
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9921
	push	eax
	call	_bbGCFree
	add	esp,4
_9921:
	mov	dword [esi+12],ebx
	push	_9922
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-328],eax
	push	_9924
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_9925
	mov	eax,ebp
	push	eax
	push	_9927
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9926
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_9925:
	push	_9928
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_610
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_9929
	mov	eax,ebp
	push	eax
	push	_9931
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9930
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_610
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_9929:
	push	_9932
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_BackdropSet]
	cmp	ebx,_bbNullObject
	jne	_9934
	call	_brl_blitz_NullObjectError
_9934:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-320]
	cmp	ebx,dword [esi+20]
	jb	_9937
	call	_brl_blitz_ArrayBoundsError
_9937:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9939
	call	_brl_blitz_NullObjectError
_9939:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_9941
	call	_brl_blitz_NullObjectError
_9941:
	push	5
	push	_221
	push	dword [ebp-320]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_611
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	push	_9942
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-324]
	cmp	ebx,_bbNullObject
	jne	_9944
	call	_brl_blitz_NullObjectError
_9944:
	push	1
	push	_485
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9946
	call	_brl_blitz_NullObjectError
_9946:
	mov	esi,ebx
	push	_221
	push	dword [ebp-320]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_612
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_9951
	push	eax
	call	_bbGCFree
	add	esp,4
_9951:
	mov	dword [esi+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_606:
	add	dword [ebp-320],1
_9901:
	cmp	dword [ebp-320],edi
	jle	_608
_607:
	push	_9954
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	cmp	ebx,_bbNullObject
	jne	_9956
	call	_brl_blitz_NullObjectError
_9956:
	push	1
	push	_613
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-72],eax
	push	_9958
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_9959
	mov	eax,ebp
	push	eax
	push	_9962
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9960
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_614
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_9961
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_9959:
	push	_9963
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-332],0
	mov	dword [ebp-332],0
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_9966
	call	_brl_blitz_NullObjectError
_9966:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-940],eax
	jmp	_9967
_617:
	mov	eax,ebp
	push	eax
	push	_10228
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_9969
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-72]
	cmp	ebx,_bbNullObject
	jne	_9971
	call	_brl_blitz_NullObjectError
_9971:
	push	1
	push	_618
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-336],eax
	push	_9973
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-336]
	cmp	ebx,_bbNullObject
	jne	_9975
	call	_brl_blitz_NullObjectError
_9975:
	push	1
	push	_619
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9977
	call	_brl_blitz_NullObjectError
_9977:
	mov	edi,ebx
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_9980
	call	_brl_blitz_NullObjectError
_9980:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-332]
	cmp	ebx,dword [esi+20]
	jb	_9983
	call	_brl_blitz_ArrayBoundsError
_9983:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_9985
	call	_brl_blitz_NullObjectError
_9985:
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_9989
	push	eax
	call	_bbGCFree
	add	esp,4
_9989:
	mov	dword [edi+12],ebx
	push	_9990
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-336]
	cmp	ebx,_bbNullObject
	jne	_9992
	call	_brl_blitz_NullObjectError
_9992:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_9994
	call	_brl_blitz_NullObjectError
_9994:
	mov	edi,ebx
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_9997
	call	_brl_blitz_NullObjectError
_9997:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-332]
	cmp	ebx,dword [esi+20]
	jb	_10000
	call	_brl_blitz_ArrayBoundsError
_10000:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10004
	push	eax
	call	_bbGCFree
	add	esp,4
_10004:
	mov	dword [edi+12],ebx
	push	_10005
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-336]
	cmp	ebx,_bbNullObject
	jne	_10007
	call	_brl_blitz_NullObjectError
_10007:
	push	1
	push	_620
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10009
	call	_brl_blitz_NullObjectError
_10009:
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10012
	call	_brl_blitz_NullObjectError
_10012:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10016
	push	eax
	call	_bbGCFree
	add	esp,4
_10016:
	mov	dword [esi+12],ebx
	push	_10017
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-336]
	cmp	ebx,_bbNullObject
	jne	_10019
	call	_brl_blitz_NullObjectError
_10019:
	push	1
	push	_621
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10021
	call	_brl_blitz_NullObjectError
_10021:
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10024
	call	_brl_blitz_NullObjectError
_10024:
	push	dword [ebx+68]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10028
	push	eax
	call	_bbGCFree
	add	esp,4
_10028:
	mov	dword [esi+12],ebx
	push	_10029
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-336]
	cmp	ebx,_bbNullObject
	jne	_10031
	call	_brl_blitz_NullObjectError
_10031:
	push	1
	push	_476
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10033
	call	_brl_blitz_NullObjectError
_10033:
	push	dword [ebp-332]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10038
	push	eax
	call	_bbGCFree
	add	esp,4
_10038:
	mov	dword [esi+12],ebx
	push	_10039
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [_bb_WalkaboutState]
	cmp	edi,_bbNullObject
	jne	_10041
	call	_brl_blitz_NullObjectError
_10041:
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10043
	call	_brl_blitz_NullObjectError
_10043:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-332]
	cmp	ebx,dword [esi+20]
	jb	_10046
	call	_brl_blitz_ArrayBoundsError
_10046:
	mov	esi,dword [esi+ebx*4+24]
	cmp	esi,_bbNullObject
	jne	_10048
	call	_brl_blitz_NullObjectError
_10048:
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10050
	call	_brl_blitz_NullObjectError
_10050:
	push	4
	push	6
	push	dword [ebx+68]
	mov	edx,dword [edi+64]
	mov	eax,dword [esi+16]
	imul	edx,dword [eax+20]
	push	edx
	call	_brl_pixmap_CreatePixmap
	add	esp,16
	mov	dword [ebp-340],eax
	push	_10052
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-344],0
	mov	dword [ebp-344],0
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10055
	call	_brl_blitz_NullObjectError
_10055:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-332]
	cmp	ebx,dword [esi+20]
	jb	_10058
	call	_brl_blitz_ArrayBoundsError
_10058:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10060
	call	_brl_blitz_NullObjectError
_10060:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-920],eax
	jmp	_10061
_624:
	mov	eax,ebp
	push	eax
	push	_10214
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10063
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-336]
	cmp	ebx,_bbNullObject
	jne	_10065
	call	_brl_blitz_NullObjectError
_10065:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-348],eax
	push	_10067
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-352],eax
	push	_10069
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-352]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-356],eax
	push	_10071
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-360],_bbEmptyString
	push	_10073
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-364],0
	mov	dword [ebp-364],0
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10076
	call	_brl_blitz_NullObjectError
_10076:
	mov	eax,dword [ebx+68]
	sub	eax,1
	mov	dword [ebp-880],eax
	jmp	_10077
_627:
	mov	eax,ebp
	push	eax
	push	_10173
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10079
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-368],0
	mov	dword [ebp-368],0
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10082
	call	_brl_blitz_NullObjectError
_10082:
	mov	eax,dword [ebx+64]
	sub	eax,1
	mov	dword [ebp-872],eax
	jmp	_10083
_630:
	mov	eax,ebp
	push	eax
	push	_10172
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10085
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10087
	call	_brl_blitz_NullObjectError
_10087:
	mov	edx,dword [ebp-368]
	mov	eax,dword [ebx+64]
	sub	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
	cmp	eax,0
	je	_10090
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10089
	call	_brl_blitz_NullObjectError
_10089:
	mov	edx,dword [ebp-364]
	mov	eax,dword [ebx+68]
	sub	eax,1
	cmp	edx,eax
	sete	al
	movzx	eax,al
_10090:
	cmp	eax,0
	je	_10092
	mov	eax,ebp
	push	eax
	push	_10111
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10093
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10095
	call	_brl_blitz_NullObjectError
_10095:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-332]
	cmp	ebx,dword [esi+20]
	jb	_10098
	call	_brl_blitz_ArrayBoundsError
_10098:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10100
	call	_brl_blitz_NullObjectError
_10100:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-344]
	cmp	ebx,dword [esi+20]
	jb	_10103
	call	_brl_blitz_ArrayBoundsError
_10103:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10105
	call	_brl_blitz_NullObjectError
_10105:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-368]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_10108
	call	_brl_blitz_ArrayBoundsError
_10108:
	mov	ebx,dword [ebp-364]
	cmp	ebx,dword [esi+24]
	jb	_10110
	call	_brl_blitz_ArrayBoundsError
_10110:
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_1
	push	dword [ebp-360]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-360],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_10112
_10092:
	mov	eax,ebp
	push	eax
	push	_10131
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10113
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10115
	call	_brl_blitz_NullObjectError
_10115:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-332]
	cmp	ebx,dword [esi+20]
	jb	_10118
	call	_brl_blitz_ArrayBoundsError
_10118:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10120
	call	_brl_blitz_NullObjectError
_10120:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-344]
	cmp	ebx,dword [esi+20]
	jb	_10123
	call	_brl_blitz_ArrayBoundsError
_10123:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10125
	call	_brl_blitz_NullObjectError
_10125:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-368]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_10128
	call	_brl_blitz_ArrayBoundsError
_10128:
	mov	ebx,dword [ebp-364]
	cmp	ebx,dword [esi+24]
	jb	_10130
	call	_brl_blitz_ArrayBoundsError
_10130:
	push	_557
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_1
	push	dword [ebp-360]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	dword [ebp-360],eax
	call	dword [_bbOnDebugLeaveScope]
_10112:
	push	_10132
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10134
	call	_brl_blitz_NullObjectError
_10134:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-332]
	cmp	ebx,dword [esi+20]
	jb	_10137
	call	_brl_blitz_ArrayBoundsError
_10137:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10139
	call	_brl_blitz_NullObjectError
_10139:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-344]
	cmp	ebx,dword [esi+20]
	jb	_10142
	call	_brl_blitz_ArrayBoundsError
_10142:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10144
	call	_brl_blitz_NullObjectError
_10144:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-368]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_10147
	call	_brl_blitz_ArrayBoundsError
_10147:
	mov	ebx,dword [ebp-364]
	cmp	ebx,dword [esi+24]
	jb	_10149
	call	_brl_blitz_ArrayBoundsError
_10149:
	mov	eax,edi
	add	eax,ebx
	cmp	dword [esi+eax*4+28],0
	jne	_10150
	mov	eax,ebp
	push	eax
	push	_10154
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10151
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10153
	call	_brl_blitz_NullObjectError
_10153:
	push	0
	push	dword [ebp-364]
	mov	eax,dword [ebp-344]
	imul	eax,dword [ebx+64]
	add	eax,dword [ebp-368]
	push	eax
	push	dword [ebp-340]
	call	_brl_pixmap_WritePixel
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_10155
_10150:
	mov	eax,ebp
	push	eax
	push	_10171
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10156
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [_bb_WalkaboutState]
	cmp	edi,_bbNullObject
	jne	_10158
	call	_brl_blitz_NullObjectError
_10158:
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10160
	call	_brl_blitz_NullObjectError
_10160:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-332]
	cmp	ebx,dword [esi+20]
	jb	_10163
	call	_brl_blitz_ArrayBoundsError
_10163:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10165
	call	_brl_blitz_NullObjectError
_10165:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-344]
	cmp	ebx,dword [esi+20]
	jb	_10168
	call	_brl_blitz_ArrayBoundsError
_10168:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10170
	call	_brl_blitz_NullObjectError
_10170:
	push	dword [ebp-364]
	push	dword [ebp-368]
	push	dword [ebx+20]
	call	_brl_pixmap_ReadPixel
	add	esp,12
	push	eax
	push	dword [ebp-364]
	mov	eax,dword [ebp-344]
	imul	eax,dword [edi+64]
	add	eax,dword [ebp-368]
	push	eax
	push	dword [ebp-340]
	call	_brl_pixmap_WritePixel
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_10155:
	call	dword [_bbOnDebugLeaveScope]
_628:
	add	dword [ebp-368],1
_10083:
	mov	eax,dword [ebp-872]
	cmp	dword [ebp-368],eax
	jle	_630
_629:
	call	dword [_bbOnDebugLeaveScope]
_625:
	add	dword [ebp-364],1
_10077:
	mov	eax,dword [ebp-880]
	cmp	dword [ebp-364],eax
	jle	_627
_626:
	push	_10174
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-356]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_10175
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-348]
	cmp	esi,_bbNullObject
	jne	_10177
	call	_brl_blitz_NullObjectError
_10177:
	mov	ebx,dword [ebp-360]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10182
	push	eax
	call	_bbGCFree
	add	esp,4
_10182:
	mov	dword [esi+12],ebx
	push	_10183
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10184
	mov	eax,ebp
	push	eax
	push	_10186
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10185
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10184:
	push	_10187
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_631
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10188
	mov	eax,ebp
	push	eax
	push	_10190
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10189
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_631
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10188:
	push	_10191
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-336]
	cmp	ebx,_bbNullObject
	jne	_10193
	call	_brl_blitz_NullObjectError
_10193:
	push	1
	push	dword [ebp-344]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_632
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10195
	call	_brl_blitz_NullObjectError
_10195:
	push	_221
	push	dword [ebp-344]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-332]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_633
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10200
	push	eax
	call	_bbGCFree
	add	esp,4
_10200:
	mov	dword [ebx+12],esi
	push	_10201
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_WalkaboutState]
	cmp	ebx,_bbNullObject
	jne	_10203
	call	_brl_blitz_NullObjectError
_10203:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-332]
	cmp	ebx,dword [esi+20]
	jb	_10206
	call	_brl_blitz_ArrayBoundsError
_10206:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10208
	call	_brl_blitz_NullObjectError
_10208:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-344]
	cmp	ebx,dword [esi+20]
	jb	_10211
	call	_brl_blitz_ArrayBoundsError
_10211:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10213
	call	_brl_blitz_NullObjectError
_10213:
	push	5
	push	_221
	push	dword [ebp-344]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-332]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_635
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_622:
	add	dword [ebp-344],1
_10061:
	mov	eax,dword [ebp-920]
	cmp	dword [ebp-344],eax
	jle	_624
_623:
	push	_10217
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	5
	push	_221
	push	dword [ebp-332]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_636
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-340]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	push	_10218
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-336]
	cmp	ebx,_bbNullObject
	jne	_10220
	call	_brl_blitz_NullObjectError
_10220:
	push	1
	push	_637
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10222
	call	_brl_blitz_NullObjectError
_10222:
	push	_221
	push	dword [ebp-332]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_638
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10227
	push	eax
	call	_bbGCFree
	add	esp,4
_10227:
	mov	dword [ebx+12],esi
	call	dword [_bbOnDebugLeaveScope]
_615:
	add	dword [ebp-332],1
_9967:
	mov	eax,dword [ebp-940]
	cmp	dword [ebp-332],eax
	jle	_617
_616:
	push	_10230
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_10231
	mov	eax,ebp
	push	eax
	push	_10234
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10232
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_639
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_10233
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_10231:
	push	_10235
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-372],0
	mov	dword [ebp-372],0
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10238
	call	_brl_blitz_NullObjectError
_10238:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-888],eax
	jmp	_10239
_642:
	mov	eax,ebp
	push	eax
	push	_10395
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10241
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-72]
	cmp	ebx,_bbNullObject
	jne	_10243
	call	_brl_blitz_NullObjectError
_10243:
	push	1
	push	_643
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-376],eax
	push	_10245
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-376]
	cmp	ebx,_bbNullObject
	jne	_10247
	call	_brl_blitz_NullObjectError
_10247:
	push	1
	push	_619
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10249
	call	_brl_blitz_NullObjectError
_10249:
	mov	edi,ebx
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10252
	call	_brl_blitz_NullObjectError
_10252:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-372]
	cmp	ebx,dword [esi+20]
	jb	_10255
	call	_brl_blitz_ArrayBoundsError
_10255:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10257
	call	_brl_blitz_NullObjectError
_10257:
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10261
	push	eax
	call	_bbGCFree
	add	esp,4
_10261:
	mov	dword [edi+12],ebx
	push	_10262
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-376]
	cmp	ebx,_bbNullObject
	jne	_10264
	call	_brl_blitz_NullObjectError
_10264:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10266
	call	_brl_blitz_NullObjectError
_10266:
	mov	edi,ebx
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10269
	call	_brl_blitz_NullObjectError
_10269:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-372]
	cmp	ebx,dword [esi+20]
	jb	_10272
	call	_brl_blitz_ArrayBoundsError
_10272:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10276
	push	eax
	call	_bbGCFree
	add	esp,4
_10276:
	mov	dword [edi+12],ebx
	push	_10277
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-376]
	cmp	ebx,_bbNullObject
	jne	_10279
	call	_brl_blitz_NullObjectError
_10279:
	push	1
	push	_620
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10281
	call	_brl_blitz_NullObjectError
_10281:
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10284
	call	_brl_blitz_NullObjectError
_10284:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10288
	push	eax
	call	_bbGCFree
	add	esp,4
_10288:
	mov	dword [esi+12],ebx
	push	_10289
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-376]
	cmp	ebx,_bbNullObject
	jne	_10291
	call	_brl_blitz_NullObjectError
_10291:
	push	1
	push	_621
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10293
	call	_brl_blitz_NullObjectError
_10293:
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10296
	call	_brl_blitz_NullObjectError
_10296:
	push	dword [ebx+68]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10300
	push	eax
	call	_bbGCFree
	add	esp,4
_10300:
	mov	dword [esi+12],ebx
	push	_10301
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-380],0
	mov	dword [ebp-380],0
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10304
	call	_brl_blitz_NullObjectError
_10304:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-372]
	cmp	ebx,dword [esi+20]
	jb	_10307
	call	_brl_blitz_ArrayBoundsError
_10307:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10309
	call	_brl_blitz_NullObjectError
_10309:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-856],eax
	jmp	_10310
_646:
	mov	eax,ebp
	push	eax
	push	_10394
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10312
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-376]
	cmp	ebx,_bbNullObject
	jne	_10314
	call	_brl_blitz_NullObjectError
_10314:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-384],eax
	push	_10316
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-388],eax
	push	_10318
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-388]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-392],eax
	push	_10320
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-396],0
	mov	dword [ebp-396],0
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10323
	call	_brl_blitz_NullObjectError
_10323:
	mov	eax,dword [ebx+68]
	sub	eax,1
	mov	dword [ebp-784],eax
	jmp	_10324
_649:
	mov	eax,ebp
	push	eax
	push	_10351
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10326
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-400],0
	mov	dword [ebp-400],0
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10329
	call	_brl_blitz_NullObjectError
_10329:
	mov	eax,dword [ebx+64]
	sub	eax,1
	mov	dword [ebp-764],eax
	jmp	_10330
_652:
	mov	eax,ebp
	push	eax
	push	_10350
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10332
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10334
	call	_brl_blitz_NullObjectError
_10334:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-372]
	cmp	ebx,dword [esi+20]
	jb	_10337
	call	_brl_blitz_ArrayBoundsError
_10337:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10339
	call	_brl_blitz_NullObjectError
_10339:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-380]
	cmp	ebx,dword [esi+20]
	jb	_10342
	call	_brl_blitz_ArrayBoundsError
_10342:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10344
	call	_brl_blitz_NullObjectError
_10344:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-400]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_10347
	call	_brl_blitz_ArrayBoundsError
_10347:
	mov	ebx,dword [ebp-396]
	cmp	ebx,dword [esi+24]
	jb	_10349
	call	_brl_blitz_ArrayBoundsError
_10349:
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	push	dword [ebp-392]
	call	_brl_stream_WriteInt
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_650:
	add	dword [ebp-400],1
_10330:
	mov	eax,dword [ebp-764]
	cmp	dword [ebp-400],eax
	jle	_652
_651:
	call	dword [_bbOnDebugLeaveScope]
_647:
	add	dword [ebp-396],1
_10324:
	mov	eax,dword [ebp-784]
	cmp	dword [ebp-396],eax
	jle	_649
_648:
	push	_10352
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-392]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_10353
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-384]
	cmp	ebx,_bbNullObject
	jne	_10355
	call	_brl_blitz_NullObjectError
_10355:
	mov	esi,dword [ebp-388]
	cmp	esi,_bbNullObject
	jne	_10358
	call	_brl_blitz_NullObjectError
_10358:
	push	8
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [ebp-388]
	lea	eax,dword [eax+8]
	push	eax
	call	dword [_bah_base64_TBase64+48]
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10362
	push	eax
	call	_bbGCFree
	add	esp,4
_10362:
	mov	dword [ebx+12],esi
	push	_10363
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10364
	mov	eax,ebp
	push	eax
	push	_10366
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10365
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10364:
	push	_10367
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_653
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10368
	mov	eax,ebp
	push	eax
	push	_10370
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10369
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_653
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10368:
	push	_10371
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-376]
	cmp	ebx,_bbNullObject
	jne	_10373
	call	_brl_blitz_NullObjectError
_10373:
	push	1
	push	dword [ebp-380]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_632
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10375
	call	_brl_blitz_NullObjectError
_10375:
	push	_221
	push	dword [ebp-380]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-372]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_654
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10380
	push	eax
	call	_bbGCFree
	add	esp,4
_10380:
	mov	dword [ebx+12],esi
	push	_10381
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_HeroState]
	cmp	ebx,_bbNullObject
	jne	_10383
	call	_brl_blitz_NullObjectError
_10383:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-372]
	cmp	ebx,dword [esi+20]
	jb	_10386
	call	_brl_blitz_ArrayBoundsError
_10386:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10388
	call	_brl_blitz_NullObjectError
_10388:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-380]
	cmp	ebx,dword [esi+20]
	jb	_10391
	call	_brl_blitz_ArrayBoundsError
_10391:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10393
	call	_brl_blitz_NullObjectError
_10393:
	push	5
	push	_221
	push	dword [ebp-380]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-372]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_655
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_644:
	add	dword [ebp-380],1
_10310:
	mov	eax,dword [ebp-856]
	cmp	dword [ebp-380],eax
	jle	_646
_645:
	call	dword [_bbOnDebugLeaveScope]
_640:
	add	dword [ebp-372],1
_10239:
	mov	eax,dword [ebp-888]
	cmp	dword [ebp-372],eax
	jle	_642
_641:
	push	_10396
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_10397
	mov	eax,ebp
	push	eax
	push	_10400
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10398
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_656
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_10399
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_10397:
	push	_10401
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-404],0
	mov	dword [ebp-404],0
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10404
	call	_brl_blitz_NullObjectError
_10404:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-892],eax
	jmp	_10405
_659:
	mov	eax,ebp
	push	eax
	push	_10561
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10407
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-72]
	cmp	ebx,_bbNullObject
	jne	_10409
	call	_brl_blitz_NullObjectError
_10409:
	push	1
	push	_660
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-408],eax
	push	_10411
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-408]
	cmp	ebx,_bbNullObject
	jne	_10413
	call	_brl_blitz_NullObjectError
_10413:
	push	1
	push	_619
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10415
	call	_brl_blitz_NullObjectError
_10415:
	mov	edi,ebx
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10418
	call	_brl_blitz_NullObjectError
_10418:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-404]
	cmp	ebx,dword [esi+20]
	jb	_10421
	call	_brl_blitz_ArrayBoundsError
_10421:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10423
	call	_brl_blitz_NullObjectError
_10423:
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10427
	push	eax
	call	_bbGCFree
	add	esp,4
_10427:
	mov	dword [edi+12],ebx
	push	_10428
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-408]
	cmp	ebx,_bbNullObject
	jne	_10430
	call	_brl_blitz_NullObjectError
_10430:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10432
	call	_brl_blitz_NullObjectError
_10432:
	mov	edi,ebx
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10435
	call	_brl_blitz_NullObjectError
_10435:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-404]
	cmp	ebx,dword [esi+20]
	jb	_10438
	call	_brl_blitz_ArrayBoundsError
_10438:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10442
	push	eax
	call	_bbGCFree
	add	esp,4
_10442:
	mov	dword [edi+12],ebx
	push	_10443
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-408]
	cmp	ebx,_bbNullObject
	jne	_10445
	call	_brl_blitz_NullObjectError
_10445:
	push	1
	push	_620
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10447
	call	_brl_blitz_NullObjectError
_10447:
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10450
	call	_brl_blitz_NullObjectError
_10450:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10454
	push	eax
	call	_bbGCFree
	add	esp,4
_10454:
	mov	dword [esi+12],ebx
	push	_10455
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-408]
	cmp	ebx,_bbNullObject
	jne	_10457
	call	_brl_blitz_NullObjectError
_10457:
	push	1
	push	_621
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10459
	call	_brl_blitz_NullObjectError
_10459:
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10462
	call	_brl_blitz_NullObjectError
_10462:
	push	dword [ebx+68]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10466
	push	eax
	call	_bbGCFree
	add	esp,4
_10466:
	mov	dword [esi+12],ebx
	push	_10467
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-412],0
	mov	dword [ebp-412],0
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10470
	call	_brl_blitz_NullObjectError
_10470:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-404]
	cmp	ebx,dword [esi+20]
	jb	_10473
	call	_brl_blitz_ArrayBoundsError
_10473:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10475
	call	_brl_blitz_NullObjectError
_10475:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-852],eax
	jmp	_10476
_663:
	mov	eax,ebp
	push	eax
	push	_10560
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10478
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-408]
	cmp	ebx,_bbNullObject
	jne	_10480
	call	_brl_blitz_NullObjectError
_10480:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-416],eax
	push	_10482
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-420],eax
	push	_10484
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-420]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-424],eax
	push	_10486
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-428],0
	mov	dword [ebp-428],0
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10489
	call	_brl_blitz_NullObjectError
_10489:
	mov	eax,dword [ebx+68]
	sub	eax,1
	mov	dword [ebp-788],eax
	jmp	_10490
_666:
	mov	eax,ebp
	push	eax
	push	_10517
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10492
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-432],0
	mov	dword [ebp-432],0
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10495
	call	_brl_blitz_NullObjectError
_10495:
	mov	eax,dword [ebx+64]
	sub	eax,1
	mov	dword [ebp-760],eax
	jmp	_10496
_669:
	mov	eax,ebp
	push	eax
	push	_10516
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10498
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10500
	call	_brl_blitz_NullObjectError
_10500:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-404]
	cmp	ebx,dword [esi+20]
	jb	_10503
	call	_brl_blitz_ArrayBoundsError
_10503:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10505
	call	_brl_blitz_NullObjectError
_10505:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-412]
	cmp	ebx,dword [esi+20]
	jb	_10508
	call	_brl_blitz_ArrayBoundsError
_10508:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10510
	call	_brl_blitz_NullObjectError
_10510:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-432]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_10513
	call	_brl_blitz_ArrayBoundsError
_10513:
	mov	ebx,dword [ebp-428]
	cmp	ebx,dword [esi+24]
	jb	_10515
	call	_brl_blitz_ArrayBoundsError
_10515:
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	push	dword [ebp-424]
	call	_brl_stream_WriteInt
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_667:
	add	dword [ebp-432],1
_10496:
	mov	eax,dword [ebp-760]
	cmp	dword [ebp-432],eax
	jle	_669
_668:
	call	dword [_bbOnDebugLeaveScope]
_664:
	add	dword [ebp-428],1
_10490:
	mov	eax,dword [ebp-788]
	cmp	dword [ebp-428],eax
	jle	_666
_665:
	push	_10518
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-424]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_10519
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-416]
	cmp	ebx,_bbNullObject
	jne	_10521
	call	_brl_blitz_NullObjectError
_10521:
	mov	esi,dword [ebp-420]
	cmp	esi,_bbNullObject
	jne	_10524
	call	_brl_blitz_NullObjectError
_10524:
	push	8
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [ebp-420]
	lea	eax,dword [eax+8]
	push	eax
	call	dword [_bah_base64_TBase64+48]
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10528
	push	eax
	call	_bbGCFree
	add	esp,4
_10528:
	mov	dword [ebx+12],esi
	push	_10529
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10530
	mov	eax,ebp
	push	eax
	push	_10532
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10531
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10530:
	push	_10533
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_670
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10534
	mov	eax,ebp
	push	eax
	push	_10536
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10535
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_670
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10534:
	push	_10537
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-408]
	cmp	ebx,_bbNullObject
	jne	_10539
	call	_brl_blitz_NullObjectError
_10539:
	push	1
	push	dword [ebp-412]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_632
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10541
	call	_brl_blitz_NullObjectError
_10541:
	push	_221
	push	dword [ebp-412]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-404]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_671
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10546
	push	eax
	call	_bbGCFree
	add	esp,4
_10546:
	mov	dword [ebx+12],esi
	push	_10547
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_SmallEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10549
	call	_brl_blitz_NullObjectError
_10549:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-404]
	cmp	ebx,dword [esi+20]
	jb	_10552
	call	_brl_blitz_ArrayBoundsError
_10552:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10554
	call	_brl_blitz_NullObjectError
_10554:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-412]
	cmp	ebx,dword [esi+20]
	jb	_10557
	call	_brl_blitz_ArrayBoundsError
_10557:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10559
	call	_brl_blitz_NullObjectError
_10559:
	push	5
	push	_221
	push	dword [ebp-412]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-404]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_672
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_661:
	add	dword [ebp-412],1
_10476:
	mov	eax,dword [ebp-852]
	cmp	dword [ebp-412],eax
	jle	_663
_662:
	call	dword [_bbOnDebugLeaveScope]
_657:
	add	dword [ebp-404],1
_10405:
	mov	eax,dword [ebp-892]
	cmp	dword [ebp-404],eax
	jle	_659
_658:
	push	_10562
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_10563
	mov	eax,ebp
	push	eax
	push	_10566
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10564
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_673
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_10565
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_10563:
	push	_10567
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-436],0
	mov	dword [ebp-436],0
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10570
	call	_brl_blitz_NullObjectError
_10570:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-896],eax
	jmp	_10571
_676:
	mov	eax,ebp
	push	eax
	push	_10727
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10573
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-72]
	cmp	ebx,_bbNullObject
	jne	_10575
	call	_brl_blitz_NullObjectError
_10575:
	push	1
	push	_677
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-440],eax
	push	_10577
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-440]
	cmp	ebx,_bbNullObject
	jne	_10579
	call	_brl_blitz_NullObjectError
_10579:
	push	1
	push	_619
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10581
	call	_brl_blitz_NullObjectError
_10581:
	mov	edi,ebx
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10584
	call	_brl_blitz_NullObjectError
_10584:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-436]
	cmp	ebx,dword [esi+20]
	jb	_10587
	call	_brl_blitz_ArrayBoundsError
_10587:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10589
	call	_brl_blitz_NullObjectError
_10589:
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10593
	push	eax
	call	_bbGCFree
	add	esp,4
_10593:
	mov	dword [edi+12],ebx
	push	_10594
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-440]
	cmp	ebx,_bbNullObject
	jne	_10596
	call	_brl_blitz_NullObjectError
_10596:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10598
	call	_brl_blitz_NullObjectError
_10598:
	mov	edi,ebx
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10601
	call	_brl_blitz_NullObjectError
_10601:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-436]
	cmp	ebx,dword [esi+20]
	jb	_10604
	call	_brl_blitz_ArrayBoundsError
_10604:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10608
	push	eax
	call	_bbGCFree
	add	esp,4
_10608:
	mov	dword [edi+12],ebx
	push	_10609
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-440]
	cmp	ebx,_bbNullObject
	jne	_10611
	call	_brl_blitz_NullObjectError
_10611:
	push	1
	push	_620
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10613
	call	_brl_blitz_NullObjectError
_10613:
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10616
	call	_brl_blitz_NullObjectError
_10616:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10620
	push	eax
	call	_bbGCFree
	add	esp,4
_10620:
	mov	dword [esi+12],ebx
	push	_10621
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-440]
	cmp	ebx,_bbNullObject
	jne	_10623
	call	_brl_blitz_NullObjectError
_10623:
	push	1
	push	_621
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10625
	call	_brl_blitz_NullObjectError
_10625:
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10628
	call	_brl_blitz_NullObjectError
_10628:
	push	dword [ebx+68]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10632
	push	eax
	call	_bbGCFree
	add	esp,4
_10632:
	mov	dword [esi+12],ebx
	push	_10633
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-444],0
	mov	dword [ebp-444],0
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10636
	call	_brl_blitz_NullObjectError
_10636:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-436]
	cmp	ebx,dword [esi+20]
	jb	_10639
	call	_brl_blitz_ArrayBoundsError
_10639:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10641
	call	_brl_blitz_NullObjectError
_10641:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-848],eax
	jmp	_10642
_680:
	mov	eax,ebp
	push	eax
	push	_10726
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10644
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-440]
	cmp	ebx,_bbNullObject
	jne	_10646
	call	_brl_blitz_NullObjectError
_10646:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-448],eax
	push	_10648
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-452],eax
	push	_10650
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-452]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-456],eax
	push	_10652
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-460],0
	mov	dword [ebp-460],0
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10655
	call	_brl_blitz_NullObjectError
_10655:
	mov	eax,dword [ebx+68]
	sub	eax,1
	mov	dword [ebp-792],eax
	jmp	_10656
_683:
	mov	eax,ebp
	push	eax
	push	_10683
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10658
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-464],0
	mov	dword [ebp-464],0
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10661
	call	_brl_blitz_NullObjectError
_10661:
	mov	eax,dword [ebx+64]
	sub	eax,1
	mov	dword [ebp-756],eax
	jmp	_10662
_686:
	mov	eax,ebp
	push	eax
	push	_10682
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10664
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10666
	call	_brl_blitz_NullObjectError
_10666:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-436]
	cmp	ebx,dword [esi+20]
	jb	_10669
	call	_brl_blitz_ArrayBoundsError
_10669:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10671
	call	_brl_blitz_NullObjectError
_10671:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-444]
	cmp	ebx,dword [esi+20]
	jb	_10674
	call	_brl_blitz_ArrayBoundsError
_10674:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10676
	call	_brl_blitz_NullObjectError
_10676:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-464]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_10679
	call	_brl_blitz_ArrayBoundsError
_10679:
	mov	ebx,dword [ebp-460]
	cmp	ebx,dword [esi+24]
	jb	_10681
	call	_brl_blitz_ArrayBoundsError
_10681:
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	push	dword [ebp-456]
	call	_brl_stream_WriteInt
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_684:
	add	dword [ebp-464],1
_10662:
	mov	eax,dword [ebp-756]
	cmp	dword [ebp-464],eax
	jle	_686
_685:
	call	dword [_bbOnDebugLeaveScope]
_681:
	add	dword [ebp-460],1
_10656:
	mov	eax,dword [ebp-792]
	cmp	dword [ebp-460],eax
	jle	_683
_682:
	push	_10684
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-456]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_10685
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-448]
	cmp	ebx,_bbNullObject
	jne	_10687
	call	_brl_blitz_NullObjectError
_10687:
	mov	esi,dword [ebp-452]
	cmp	esi,_bbNullObject
	jne	_10690
	call	_brl_blitz_NullObjectError
_10690:
	push	8
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [ebp-452]
	lea	eax,dword [eax+8]
	push	eax
	call	dword [_bah_base64_TBase64+48]
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10694
	push	eax
	call	_bbGCFree
	add	esp,4
_10694:
	mov	dword [ebx+12],esi
	push	_10695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10696
	mov	eax,ebp
	push	eax
	push	_10698
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10696:
	push	_10699
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_687
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10700
	mov	eax,ebp
	push	eax
	push	_10702
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_687
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10700:
	push	_10703
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-440]
	cmp	ebx,_bbNullObject
	jne	_10705
	call	_brl_blitz_NullObjectError
_10705:
	push	1
	push	dword [ebp-444]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_632
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10707
	call	_brl_blitz_NullObjectError
_10707:
	push	_221
	push	dword [ebp-444]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-436]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_688
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10712
	push	eax
	call	_bbGCFree
	add	esp,4
_10712:
	mov	dword [ebx+12],esi
	push	_10713
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MediumEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10715
	call	_brl_blitz_NullObjectError
_10715:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-436]
	cmp	ebx,dword [esi+20]
	jb	_10718
	call	_brl_blitz_ArrayBoundsError
_10718:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10720
	call	_brl_blitz_NullObjectError
_10720:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-444]
	cmp	ebx,dword [esi+20]
	jb	_10723
	call	_brl_blitz_ArrayBoundsError
_10723:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10725
	call	_brl_blitz_NullObjectError
_10725:
	push	5
	push	_221
	push	dword [ebp-444]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-436]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_689
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_678:
	add	dword [ebp-444],1
_10642:
	mov	eax,dword [ebp-848]
	cmp	dword [ebp-444],eax
	jle	_680
_679:
	call	dword [_bbOnDebugLeaveScope]
_674:
	add	dword [ebp-436],1
_10571:
	mov	eax,dword [ebp-896]
	cmp	dword [ebp-436],eax
	jle	_676
_675:
	push	_10728
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_10729
	mov	eax,ebp
	push	eax
	push	_10732
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10730
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_690
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_10731
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_10729:
	push	_10733
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-468],0
	mov	dword [ebp-468],0
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10736
	call	_brl_blitz_NullObjectError
_10736:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-900],eax
	jmp	_10737
_693:
	mov	eax,ebp
	push	eax
	push	_10893
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10739
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-72]
	cmp	ebx,_bbNullObject
	jne	_10741
	call	_brl_blitz_NullObjectError
_10741:
	push	1
	push	_694
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-472],eax
	push	_10743
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-472]
	cmp	ebx,_bbNullObject
	jne	_10745
	call	_brl_blitz_NullObjectError
_10745:
	push	1
	push	_619
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10747
	call	_brl_blitz_NullObjectError
_10747:
	mov	edi,ebx
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10750
	call	_brl_blitz_NullObjectError
_10750:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-468]
	cmp	ebx,dword [esi+20]
	jb	_10753
	call	_brl_blitz_ArrayBoundsError
_10753:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10755
	call	_brl_blitz_NullObjectError
_10755:
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10759
	push	eax
	call	_bbGCFree
	add	esp,4
_10759:
	mov	dword [edi+12],ebx
	push	_10760
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-472]
	cmp	ebx,_bbNullObject
	jne	_10762
	call	_brl_blitz_NullObjectError
_10762:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10764
	call	_brl_blitz_NullObjectError
_10764:
	mov	edi,ebx
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10767
	call	_brl_blitz_NullObjectError
_10767:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-468]
	cmp	ebx,dword [esi+20]
	jb	_10770
	call	_brl_blitz_ArrayBoundsError
_10770:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10774
	push	eax
	call	_bbGCFree
	add	esp,4
_10774:
	mov	dword [edi+12],ebx
	push	_10775
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-472]
	cmp	ebx,_bbNullObject
	jne	_10777
	call	_brl_blitz_NullObjectError
_10777:
	push	1
	push	_620
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10779
	call	_brl_blitz_NullObjectError
_10779:
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10782
	call	_brl_blitz_NullObjectError
_10782:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10786
	push	eax
	call	_bbGCFree
	add	esp,4
_10786:
	mov	dword [esi+12],ebx
	push	_10787
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-472]
	cmp	ebx,_bbNullObject
	jne	_10789
	call	_brl_blitz_NullObjectError
_10789:
	push	1
	push	_621
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10791
	call	_brl_blitz_NullObjectError
_10791:
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10794
	call	_brl_blitz_NullObjectError
_10794:
	push	dword [ebx+68]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10798
	push	eax
	call	_bbGCFree
	add	esp,4
_10798:
	mov	dword [esi+12],ebx
	push	_10799
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-476],0
	mov	dword [ebp-476],0
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10802
	call	_brl_blitz_NullObjectError
_10802:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-468]
	cmp	ebx,dword [esi+20]
	jb	_10805
	call	_brl_blitz_ArrayBoundsError
_10805:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10807
	call	_brl_blitz_NullObjectError
_10807:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-844],eax
	jmp	_10808
_697:
	mov	eax,ebp
	push	eax
	push	_10892
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10810
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-472]
	cmp	ebx,_bbNullObject
	jne	_10812
	call	_brl_blitz_NullObjectError
_10812:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-480],eax
	push	_10814
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-484],eax
	push	_10816
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-484]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-488],eax
	push	_10818
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-492],0
	mov	dword [ebp-492],0
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10821
	call	_brl_blitz_NullObjectError
_10821:
	mov	eax,dword [ebx+68]
	sub	eax,1
	mov	dword [ebp-796],eax
	jmp	_10822
_700:
	mov	eax,ebp
	push	eax
	push	_10849
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10824
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-496],0
	mov	dword [ebp-496],0
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10827
	call	_brl_blitz_NullObjectError
_10827:
	mov	eax,dword [ebx+64]
	sub	eax,1
	mov	dword [ebp-752],eax
	jmp	_10828
_703:
	mov	eax,ebp
	push	eax
	push	_10848
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10830
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10832
	call	_brl_blitz_NullObjectError
_10832:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-468]
	cmp	ebx,dword [esi+20]
	jb	_10835
	call	_brl_blitz_ArrayBoundsError
_10835:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10837
	call	_brl_blitz_NullObjectError
_10837:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-476]
	cmp	ebx,dword [esi+20]
	jb	_10840
	call	_brl_blitz_ArrayBoundsError
_10840:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10842
	call	_brl_blitz_NullObjectError
_10842:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-496]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_10845
	call	_brl_blitz_ArrayBoundsError
_10845:
	mov	ebx,dword [ebp-492]
	cmp	ebx,dword [esi+24]
	jb	_10847
	call	_brl_blitz_ArrayBoundsError
_10847:
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	push	dword [ebp-488]
	call	_brl_stream_WriteInt
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_701:
	add	dword [ebp-496],1
_10828:
	mov	eax,dword [ebp-752]
	cmp	dword [ebp-496],eax
	jle	_703
_702:
	call	dword [_bbOnDebugLeaveScope]
_698:
	add	dword [ebp-492],1
_10822:
	mov	eax,dword [ebp-796]
	cmp	dword [ebp-492],eax
	jle	_700
_699:
	push	_10850
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-488]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_10851
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-480]
	cmp	ebx,_bbNullObject
	jne	_10853
	call	_brl_blitz_NullObjectError
_10853:
	mov	esi,dword [ebp-484]
	cmp	esi,_bbNullObject
	jne	_10856
	call	_brl_blitz_NullObjectError
_10856:
	push	8
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [ebp-484]
	lea	eax,dword [eax+8]
	push	eax
	call	dword [_bah_base64_TBase64+48]
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10860
	push	eax
	call	_bbGCFree
	add	esp,4
_10860:
	mov	dword [ebx+12],esi
	push	_10861
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10862
	mov	eax,ebp
	push	eax
	push	_10864
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10863
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10862:
	push	_10865
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_704
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_10866
	mov	eax,ebp
	push	eax
	push	_10868
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10867
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_704
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_10866:
	push	_10869
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-472]
	cmp	ebx,_bbNullObject
	jne	_10871
	call	_brl_blitz_NullObjectError
_10871:
	push	1
	push	dword [ebp-476]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_632
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10873
	call	_brl_blitz_NullObjectError
_10873:
	push	_221
	push	dword [ebp-476]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-468]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_705
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_10878
	push	eax
	call	_bbGCFree
	add	esp,4
_10878:
	mov	dword [ebx+12],esi
	push	_10879
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_LargeEnemyState]
	cmp	ebx,_bbNullObject
	jne	_10881
	call	_brl_blitz_NullObjectError
_10881:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-468]
	cmp	ebx,dword [esi+20]
	jb	_10884
	call	_brl_blitz_ArrayBoundsError
_10884:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10886
	call	_brl_blitz_NullObjectError
_10886:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-476]
	cmp	ebx,dword [esi+20]
	jb	_10889
	call	_brl_blitz_ArrayBoundsError
_10889:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10891
	call	_brl_blitz_NullObjectError
_10891:
	push	5
	push	_221
	push	dword [ebp-476]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-468]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_706
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_695:
	add	dword [ebp-476],1
_10808:
	mov	eax,dword [ebp-844]
	cmp	dword [ebp-476],eax
	jle	_697
_696:
	call	dword [_bbOnDebugLeaveScope]
_691:
	add	dword [ebp-468],1
_10737:
	mov	eax,dword [ebp-900]
	cmp	dword [ebp-468],eax
	jle	_693
_692:
	push	_10894
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_10895
	mov	eax,ebp
	push	eax
	push	_10898
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10896
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_707
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_10897
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_10895:
	push	_10899
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-500],0
	mov	dword [ebp-500],0
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_10902
	call	_brl_blitz_NullObjectError
_10902:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-904],eax
	jmp	_10903
_710:
	mov	eax,ebp
	push	eax
	push	_11059
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10905
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-72]
	cmp	ebx,_bbNullObject
	jne	_10907
	call	_brl_blitz_NullObjectError
_10907:
	push	1
	push	_711
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-504],eax
	push	_10909
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-504]
	cmp	ebx,_bbNullObject
	jne	_10911
	call	_brl_blitz_NullObjectError
_10911:
	push	1
	push	_619
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10913
	call	_brl_blitz_NullObjectError
_10913:
	mov	edi,ebx
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_10916
	call	_brl_blitz_NullObjectError
_10916:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-500]
	cmp	ebx,dword [esi+20]
	jb	_10919
	call	_brl_blitz_ArrayBoundsError
_10919:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10921
	call	_brl_blitz_NullObjectError
_10921:
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10925
	push	eax
	call	_bbGCFree
	add	esp,4
_10925:
	mov	dword [edi+12],ebx
	push	_10926
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-504]
	cmp	ebx,_bbNullObject
	jne	_10928
	call	_brl_blitz_NullObjectError
_10928:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_10930
	call	_brl_blitz_NullObjectError
_10930:
	mov	edi,ebx
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_10933
	call	_brl_blitz_NullObjectError
_10933:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-500]
	cmp	ebx,dword [esi+20]
	jb	_10936
	call	_brl_blitz_ArrayBoundsError
_10936:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_10940
	push	eax
	call	_bbGCFree
	add	esp,4
_10940:
	mov	dword [edi+12],ebx
	push	_10941
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-504]
	cmp	ebx,_bbNullObject
	jne	_10943
	call	_brl_blitz_NullObjectError
_10943:
	push	1
	push	_620
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10945
	call	_brl_blitz_NullObjectError
_10945:
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_10948
	call	_brl_blitz_NullObjectError
_10948:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10952
	push	eax
	call	_bbGCFree
	add	esp,4
_10952:
	mov	dword [esi+12],ebx
	push	_10953
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-504]
	cmp	ebx,_bbNullObject
	jne	_10955
	call	_brl_blitz_NullObjectError
_10955:
	push	1
	push	_621
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_10957
	call	_brl_blitz_NullObjectError
_10957:
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_10960
	call	_brl_blitz_NullObjectError
_10960:
	push	dword [ebx+68]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_10964
	push	eax
	call	_bbGCFree
	add	esp,4
_10964:
	mov	dword [esi+12],ebx
	push	_10965
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-508],0
	mov	dword [ebp-508],0
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_10968
	call	_brl_blitz_NullObjectError
_10968:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-500]
	cmp	ebx,dword [esi+20]
	jb	_10971
	call	_brl_blitz_ArrayBoundsError
_10971:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_10973
	call	_brl_blitz_NullObjectError
_10973:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-840],eax
	jmp	_10974
_714:
	mov	eax,ebp
	push	eax
	push	_11058
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10976
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-504]
	cmp	ebx,_bbNullObject
	jne	_10978
	call	_brl_blitz_NullObjectError
_10978:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-512],eax
	push	_10980
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-516],eax
	push	_10982
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-516]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-520],eax
	push	_10984
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-524],0
	mov	dword [ebp-524],0
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_10987
	call	_brl_blitz_NullObjectError
_10987:
	mov	eax,dword [ebx+68]
	sub	eax,1
	mov	dword [ebp-800],eax
	jmp	_10988
_717:
	mov	eax,ebp
	push	eax
	push	_11015
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10990
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-528],0
	mov	dword [ebp-528],0
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_10993
	call	_brl_blitz_NullObjectError
_10993:
	mov	eax,dword [ebx+64]
	sub	eax,1
	mov	dword [ebp-748],eax
	jmp	_10994
_720:
	mov	eax,ebp
	push	eax
	push	_11014
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_10996
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_10998
	call	_brl_blitz_NullObjectError
_10998:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-500]
	cmp	ebx,dword [esi+20]
	jb	_11001
	call	_brl_blitz_ArrayBoundsError
_11001:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11003
	call	_brl_blitz_NullObjectError
_11003:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-508]
	cmp	ebx,dword [esi+20]
	jb	_11006
	call	_brl_blitz_ArrayBoundsError
_11006:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11008
	call	_brl_blitz_NullObjectError
_11008:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-528]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_11011
	call	_brl_blitz_ArrayBoundsError
_11011:
	mov	ebx,dword [ebp-524]
	cmp	ebx,dword [esi+24]
	jb	_11013
	call	_brl_blitz_ArrayBoundsError
_11013:
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	push	dword [ebp-520]
	call	_brl_stream_WriteInt
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_718:
	add	dword [ebp-528],1
_10994:
	mov	eax,dword [ebp-748]
	cmp	dword [ebp-528],eax
	jle	_720
_719:
	call	dword [_bbOnDebugLeaveScope]
_715:
	add	dword [ebp-524],1
_10988:
	mov	eax,dword [ebp-800]
	cmp	dword [ebp-524],eax
	jle	_717
_716:
	push	_11016
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-520]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_11017
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-512]
	cmp	ebx,_bbNullObject
	jne	_11019
	call	_brl_blitz_NullObjectError
_11019:
	mov	esi,dword [ebp-516]
	cmp	esi,_bbNullObject
	jne	_11022
	call	_brl_blitz_NullObjectError
_11022:
	push	8
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [ebp-516]
	lea	eax,dword [eax+8]
	push	eax
	call	dword [_bah_base64_TBase64+48]
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_11026
	push	eax
	call	_bbGCFree
	add	esp,4
_11026:
	mov	dword [ebx+12],esi
	push	_11027
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11028
	mov	eax,ebp
	push	eax
	push	_11030
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11029
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11028:
	push	_11031
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_721
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11032
	mov	eax,ebp
	push	eax
	push	_11034
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11033
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_721
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11032:
	push	_11035
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-504]
	cmp	ebx,_bbNullObject
	jne	_11037
	call	_brl_blitz_NullObjectError
_11037:
	push	1
	push	dword [ebp-508]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_632
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11039
	call	_brl_blitz_NullObjectError
_11039:
	push	_221
	push	dword [ebp-508]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-500]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_722
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_11044
	push	eax
	call	_bbGCFree
	add	esp,4
_11044:
	mov	dword [ebx+12],esi
	push	_11045
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_AttackState]
	cmp	ebx,_bbNullObject
	jne	_11047
	call	_brl_blitz_NullObjectError
_11047:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-500]
	cmp	ebx,dword [esi+20]
	jb	_11050
	call	_brl_blitz_ArrayBoundsError
_11050:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11052
	call	_brl_blitz_NullObjectError
_11052:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-508]
	cmp	ebx,dword [esi+20]
	jb	_11055
	call	_brl_blitz_ArrayBoundsError
_11055:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11057
	call	_brl_blitz_NullObjectError
_11057:
	push	5
	push	_221
	push	dword [ebp-508]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-500]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_723
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_712:
	add	dword [ebp-508],1
_10974:
	mov	eax,dword [ebp-840]
	cmp	dword [ebp-508],eax
	jle	_714
_713:
	call	dword [_bbOnDebugLeaveScope]
_708:
	add	dword [ebp-500],1
_10903:
	mov	eax,dword [ebp-904]
	cmp	dword [ebp-500],eax
	jle	_710
_709:
	push	_11060
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_11061
	mov	eax,ebp
	push	eax
	push	_11064
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11062
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_724
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_11063
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_11061:
	push	_11065
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-532],0
	mov	dword [ebp-532],0
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11068
	call	_brl_blitz_NullObjectError
_11068:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-908],eax
	jmp	_11069
_727:
	mov	eax,ebp
	push	eax
	push	_11225
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11071
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-72]
	cmp	ebx,_bbNullObject
	jne	_11073
	call	_brl_blitz_NullObjectError
_11073:
	push	1
	push	_728
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-536],eax
	push	_11075
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-536]
	cmp	ebx,_bbNullObject
	jne	_11077
	call	_brl_blitz_NullObjectError
_11077:
	push	1
	push	_619
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11079
	call	_brl_blitz_NullObjectError
_11079:
	mov	edi,ebx
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11082
	call	_brl_blitz_NullObjectError
_11082:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-532]
	cmp	ebx,dword [esi+20]
	jb	_11085
	call	_brl_blitz_ArrayBoundsError
_11085:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11087
	call	_brl_blitz_NullObjectError
_11087:
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_11091
	push	eax
	call	_bbGCFree
	add	esp,4
_11091:
	mov	dword [edi+12],ebx
	push	_11092
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-536]
	cmp	ebx,_bbNullObject
	jne	_11094
	call	_brl_blitz_NullObjectError
_11094:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11096
	call	_brl_blitz_NullObjectError
_11096:
	mov	edi,ebx
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11099
	call	_brl_blitz_NullObjectError
_11099:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-532]
	cmp	ebx,dword [esi+20]
	jb	_11102
	call	_brl_blitz_ArrayBoundsError
_11102:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_11106
	push	eax
	call	_bbGCFree
	add	esp,4
_11106:
	mov	dword [edi+12],ebx
	push	_11107
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-536]
	cmp	ebx,_bbNullObject
	jne	_11109
	call	_brl_blitz_NullObjectError
_11109:
	push	1
	push	_620
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11111
	call	_brl_blitz_NullObjectError
_11111:
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11114
	call	_brl_blitz_NullObjectError
_11114:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11118
	push	eax
	call	_bbGCFree
	add	esp,4
_11118:
	mov	dword [esi+12],ebx
	push	_11119
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-536]
	cmp	ebx,_bbNullObject
	jne	_11121
	call	_brl_blitz_NullObjectError
_11121:
	push	1
	push	_621
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11123
	call	_brl_blitz_NullObjectError
_11123:
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11126
	call	_brl_blitz_NullObjectError
_11126:
	push	dword [ebx+68]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11130
	push	eax
	call	_bbGCFree
	add	esp,4
_11130:
	mov	dword [esi+12],ebx
	push	_11131
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-540],0
	mov	dword [ebp-540],0
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11134
	call	_brl_blitz_NullObjectError
_11134:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-532]
	cmp	ebx,dword [esi+20]
	jb	_11137
	call	_brl_blitz_ArrayBoundsError
_11137:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11139
	call	_brl_blitz_NullObjectError
_11139:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-836],eax
	jmp	_11140
_731:
	mov	eax,ebp
	push	eax
	push	_11224
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11142
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-536]
	cmp	ebx,_bbNullObject
	jne	_11144
	call	_brl_blitz_NullObjectError
_11144:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-544],eax
	push	_11146
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-548],eax
	push	_11148
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-548]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-552],eax
	push	_11150
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-556],0
	mov	dword [ebp-556],0
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11153
	call	_brl_blitz_NullObjectError
_11153:
	mov	eax,dword [ebx+68]
	sub	eax,1
	mov	dword [ebp-804],eax
	jmp	_11154
_734:
	mov	eax,ebp
	push	eax
	push	_11181
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11156
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-560],0
	mov	dword [ebp-560],0
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11159
	call	_brl_blitz_NullObjectError
_11159:
	mov	eax,dword [ebx+64]
	sub	eax,1
	mov	dword [ebp-744],eax
	jmp	_11160
_737:
	mov	eax,ebp
	push	eax
	push	_11180
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11162
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11164
	call	_brl_blitz_NullObjectError
_11164:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-532]
	cmp	ebx,dword [esi+20]
	jb	_11167
	call	_brl_blitz_ArrayBoundsError
_11167:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11169
	call	_brl_blitz_NullObjectError
_11169:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-540]
	cmp	ebx,dword [esi+20]
	jb	_11172
	call	_brl_blitz_ArrayBoundsError
_11172:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11174
	call	_brl_blitz_NullObjectError
_11174:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-560]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_11177
	call	_brl_blitz_ArrayBoundsError
_11177:
	mov	ebx,dword [ebp-556]
	cmp	ebx,dword [esi+24]
	jb	_11179
	call	_brl_blitz_ArrayBoundsError
_11179:
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	push	dword [ebp-552]
	call	_brl_stream_WriteInt
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_735:
	add	dword [ebp-560],1
_11160:
	mov	eax,dword [ebp-744]
	cmp	dword [ebp-560],eax
	jle	_737
_736:
	call	dword [_bbOnDebugLeaveScope]
_732:
	add	dword [ebp-556],1
_11154:
	mov	eax,dword [ebp-804]
	cmp	dword [ebp-556],eax
	jle	_734
_733:
	push	_11182
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-552]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_11183
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-544]
	cmp	ebx,_bbNullObject
	jne	_11185
	call	_brl_blitz_NullObjectError
_11185:
	mov	esi,dword [ebp-548]
	cmp	esi,_bbNullObject
	jne	_11188
	call	_brl_blitz_NullObjectError
_11188:
	push	8
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [ebp-548]
	lea	eax,dword [eax+8]
	push	eax
	call	dword [_bah_base64_TBase64+48]
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_11192
	push	eax
	call	_bbGCFree
	add	esp,4
_11192:
	mov	dword [ebx+12],esi
	push	_11193
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11194
	mov	eax,ebp
	push	eax
	push	_11196
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11195
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11194:
	push	_11197
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_738
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11198
	mov	eax,ebp
	push	eax
	push	_11200
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11199
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_738
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11198:
	push	_11201
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-536]
	cmp	ebx,_bbNullObject
	jne	_11203
	call	_brl_blitz_NullObjectError
_11203:
	push	1
	push	dword [ebp-540]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_632
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11205
	call	_brl_blitz_NullObjectError
_11205:
	push	_221
	push	dword [ebp-540]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-532]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_739
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_11210
	push	eax
	call	_bbGCFree
	add	esp,4
_11210:
	mov	dword [ebx+12],esi
	push	_11211
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_WeaponState]
	cmp	ebx,_bbNullObject
	jne	_11213
	call	_brl_blitz_NullObjectError
_11213:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-532]
	cmp	ebx,dword [esi+20]
	jb	_11216
	call	_brl_blitz_ArrayBoundsError
_11216:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11218
	call	_brl_blitz_NullObjectError
_11218:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-540]
	cmp	ebx,dword [esi+20]
	jb	_11221
	call	_brl_blitz_ArrayBoundsError
_11221:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11223
	call	_brl_blitz_NullObjectError
_11223:
	push	5
	push	_221
	push	dword [ebp-540]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-532]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_740
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_729:
	add	dword [ebp-540],1
_11140:
	mov	eax,dword [ebp-836]
	cmp	dword [ebp-540],eax
	jle	_731
_730:
	call	dword [_bbOnDebugLeaveScope]
_725:
	add	dword [ebp-532],1
_11069:
	mov	eax,dword [ebp-908]
	cmp	dword [ebp-532],eax
	jle	_727
_726:
	push	_11226
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_11227
	mov	eax,ebp
	push	eax
	push	_11230
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11228
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_741
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_11229
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_11227:
	push	_11231
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-564],0
	mov	dword [ebp-564],0
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11234
	call	_brl_blitz_NullObjectError
_11234:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-912],eax
	jmp	_11235
_744:
	mov	eax,ebp
	push	eax
	push	_11391
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11237
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-72]
	cmp	ebx,_bbNullObject
	jne	_11239
	call	_brl_blitz_NullObjectError
_11239:
	push	1
	push	_745
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-568],eax
	push	_11241
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-568]
	cmp	ebx,_bbNullObject
	jne	_11243
	call	_brl_blitz_NullObjectError
_11243:
	push	1
	push	_619
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11245
	call	_brl_blitz_NullObjectError
_11245:
	mov	edi,ebx
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11248
	call	_brl_blitz_NullObjectError
_11248:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-564]
	cmp	ebx,dword [esi+20]
	jb	_11251
	call	_brl_blitz_ArrayBoundsError
_11251:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11253
	call	_brl_blitz_NullObjectError
_11253:
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_11257
	push	eax
	call	_bbGCFree
	add	esp,4
_11257:
	mov	dword [edi+12],ebx
	push	_11258
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-568]
	cmp	ebx,_bbNullObject
	jne	_11260
	call	_brl_blitz_NullObjectError
_11260:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11262
	call	_brl_blitz_NullObjectError
_11262:
	mov	edi,ebx
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11265
	call	_brl_blitz_NullObjectError
_11265:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-564]
	cmp	ebx,dword [esi+20]
	jb	_11268
	call	_brl_blitz_ArrayBoundsError
_11268:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_11272
	push	eax
	call	_bbGCFree
	add	esp,4
_11272:
	mov	dword [edi+12],ebx
	push	_11273
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-568]
	cmp	ebx,_bbNullObject
	jne	_11275
	call	_brl_blitz_NullObjectError
_11275:
	push	1
	push	_620
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11277
	call	_brl_blitz_NullObjectError
_11277:
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11280
	call	_brl_blitz_NullObjectError
_11280:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11284
	push	eax
	call	_bbGCFree
	add	esp,4
_11284:
	mov	dword [esi+12],ebx
	push	_11285
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-568]
	cmp	ebx,_bbNullObject
	jne	_11287
	call	_brl_blitz_NullObjectError
_11287:
	push	1
	push	_621
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11289
	call	_brl_blitz_NullObjectError
_11289:
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11292
	call	_brl_blitz_NullObjectError
_11292:
	push	dword [ebx+68]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11296
	push	eax
	call	_bbGCFree
	add	esp,4
_11296:
	mov	dword [esi+12],ebx
	push	_11297
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-572],0
	mov	dword [ebp-572],0
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11300
	call	_brl_blitz_NullObjectError
_11300:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-564]
	cmp	ebx,dword [esi+20]
	jb	_11303
	call	_brl_blitz_ArrayBoundsError
_11303:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11305
	call	_brl_blitz_NullObjectError
_11305:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-832],eax
	jmp	_11306
_748:
	mov	eax,ebp
	push	eax
	push	_11390
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11308
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-568]
	cmp	ebx,_bbNullObject
	jne	_11310
	call	_brl_blitz_NullObjectError
_11310:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-576],eax
	push	_11312
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-580],eax
	push	_11314
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-580]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-584],eax
	push	_11316
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-588],0
	mov	dword [ebp-588],0
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11319
	call	_brl_blitz_NullObjectError
_11319:
	mov	eax,dword [ebx+68]
	sub	eax,1
	mov	dword [ebp-808],eax
	jmp	_11320
_751:
	mov	eax,ebp
	push	eax
	push	_11347
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11322
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-592],0
	mov	dword [ebp-592],0
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11325
	call	_brl_blitz_NullObjectError
_11325:
	mov	eax,dword [ebx+64]
	sub	eax,1
	mov	dword [ebp-740],eax
	jmp	_11326
_754:
	mov	eax,ebp
	push	eax
	push	_11346
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11328
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11330
	call	_brl_blitz_NullObjectError
_11330:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-564]
	cmp	ebx,dword [esi+20]
	jb	_11333
	call	_brl_blitz_ArrayBoundsError
_11333:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11335
	call	_brl_blitz_NullObjectError
_11335:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-572]
	cmp	ebx,dword [esi+20]
	jb	_11338
	call	_brl_blitz_ArrayBoundsError
_11338:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11340
	call	_brl_blitz_NullObjectError
_11340:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-592]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_11343
	call	_brl_blitz_ArrayBoundsError
_11343:
	mov	ebx,dword [ebp-588]
	cmp	ebx,dword [esi+24]
	jb	_11345
	call	_brl_blitz_ArrayBoundsError
_11345:
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	push	dword [ebp-584]
	call	_brl_stream_WriteInt
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_752:
	add	dword [ebp-592],1
_11326:
	mov	eax,dword [ebp-740]
	cmp	dword [ebp-592],eax
	jle	_754
_753:
	call	dword [_bbOnDebugLeaveScope]
_749:
	add	dword [ebp-588],1
_11320:
	mov	eax,dword [ebp-808]
	cmp	dword [ebp-588],eax
	jle	_751
_750:
	push	_11348
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-584]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_11349
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-576]
	cmp	ebx,_bbNullObject
	jne	_11351
	call	_brl_blitz_NullObjectError
_11351:
	mov	esi,dword [ebp-580]
	cmp	esi,_bbNullObject
	jne	_11354
	call	_brl_blitz_NullObjectError
_11354:
	push	8
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [ebp-580]
	lea	eax,dword [eax+8]
	push	eax
	call	dword [_bah_base64_TBase64+48]
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_11358
	push	eax
	call	_bbGCFree
	add	esp,4
_11358:
	mov	dword [ebx+12],esi
	push	_11359
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11360
	mov	eax,ebp
	push	eax
	push	_11362
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11361
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11360:
	push	_11363
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_755
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11364
	mov	eax,ebp
	push	eax
	push	_11366
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11365
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_755
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11364:
	push	_11367
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-568]
	cmp	ebx,_bbNullObject
	jne	_11369
	call	_brl_blitz_NullObjectError
_11369:
	push	1
	push	dword [ebp-572]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_632
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11371
	call	_brl_blitz_NullObjectError
_11371:
	push	_221
	push	dword [ebp-572]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-564]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_756
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_11376
	push	eax
	call	_bbGCFree
	add	esp,4
_11376:
	mov	dword [ebx+12],esi
	push	_11377
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_BoxState]
	cmp	ebx,_bbNullObject
	jne	_11379
	call	_brl_blitz_NullObjectError
_11379:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-564]
	cmp	ebx,dword [esi+20]
	jb	_11382
	call	_brl_blitz_ArrayBoundsError
_11382:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11384
	call	_brl_blitz_NullObjectError
_11384:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-572]
	cmp	ebx,dword [esi+20]
	jb	_11387
	call	_brl_blitz_ArrayBoundsError
_11387:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11389
	call	_brl_blitz_NullObjectError
_11389:
	push	5
	push	_221
	push	dword [ebp-572]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-564]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_757
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_746:
	add	dword [ebp-572],1
_11306:
	mov	eax,dword [ebp-832]
	cmp	dword [ebp-572],eax
	jle	_748
_747:
	call	dword [_bbOnDebugLeaveScope]
_742:
	add	dword [ebp-564],1
_11235:
	mov	eax,dword [ebp-912]
	cmp	dword [ebp-564],eax
	jle	_744
_743:
	push	_11392
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_11393
	mov	eax,ebp
	push	eax
	push	_11396
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11394
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_758
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_11395
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_11393:
	push	_11397
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-596],0
	mov	dword [ebp-596],0
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11400
	call	_brl_blitz_NullObjectError
_11400:
	mov	eax,dword [ebx+24]
	sub	eax,1
	mov	dword [ebp-916],eax
	jmp	_11401
_761:
	mov	eax,ebp
	push	eax
	push	_11557
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11403
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-72]
	cmp	ebx,_bbNullObject
	jne	_11405
	call	_brl_blitz_NullObjectError
_11405:
	push	1
	push	_762
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-600],eax
	push	_11407
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-600]
	cmp	ebx,_bbNullObject
	jne	_11409
	call	_brl_blitz_NullObjectError
_11409:
	push	1
	push	_619
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11411
	call	_brl_blitz_NullObjectError
_11411:
	mov	edi,ebx
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11414
	call	_brl_blitz_NullObjectError
_11414:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-596]
	cmp	ebx,dword [esi+20]
	jb	_11417
	call	_brl_blitz_ArrayBoundsError
_11417:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11419
	call	_brl_blitz_NullObjectError
_11419:
	mov	eax,dword [ebx+16]
	push	dword [eax+20]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_11423
	push	eax
	call	_bbGCFree
	add	esp,4
_11423:
	mov	dword [edi+12],ebx
	push	_11424
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-600]
	cmp	ebx,_bbNullObject
	jne	_11426
	call	_brl_blitz_NullObjectError
_11426:
	push	1
	push	_583
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11428
	call	_brl_blitz_NullObjectError
_11428:
	mov	edi,ebx
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11431
	call	_brl_blitz_NullObjectError
_11431:
	mov	esi,dword [ebx+152]
	mov	ebx,dword [ebp-596]
	cmp	ebx,dword [esi+20]
	jb	_11434
	call	_brl_blitz_ArrayBoundsError
_11434:
	push	dword [esi+ebx*4+24]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_11438
	push	eax
	call	_bbGCFree
	add	esp,4
_11438:
	mov	dword [edi+12],ebx
	push	_11439
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-600]
	cmp	ebx,_bbNullObject
	jne	_11441
	call	_brl_blitz_NullObjectError
_11441:
	push	1
	push	_620
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11443
	call	_brl_blitz_NullObjectError
_11443:
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11446
	call	_brl_blitz_NullObjectError
_11446:
	push	dword [ebx+64]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11450
	push	eax
	call	_bbGCFree
	add	esp,4
_11450:
	mov	dword [esi+12],ebx
	push	_11451
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-600]
	cmp	ebx,_bbNullObject
	jne	_11453
	call	_brl_blitz_NullObjectError
_11453:
	push	1
	push	_621
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11455
	call	_brl_blitz_NullObjectError
_11455:
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11458
	call	_brl_blitz_NullObjectError
_11458:
	push	dword [ebx+68]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11462
	push	eax
	call	_bbGCFree
	add	esp,4
_11462:
	mov	dword [esi+12],ebx
	push	_11463
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-604],0
	mov	dword [ebp-604],0
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11466
	call	_brl_blitz_NullObjectError
_11466:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-596]
	cmp	ebx,dword [esi+20]
	jb	_11469
	call	_brl_blitz_ArrayBoundsError
_11469:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11471
	call	_brl_blitz_NullObjectError
_11471:
	mov	eax,dword [ebx+16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-828],eax
	jmp	_11472
_765:
	mov	eax,ebp
	push	eax
	push	_11556
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11474
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-600]
	cmp	ebx,_bbNullObject
	jne	_11476
	call	_brl_blitz_NullObjectError
_11476:
	push	1
	push	_496
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-608],eax
	push	_11478
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_brl_bank_TBank
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-612],eax
	push	_11480
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-612]
	call	_brl_filesystem_WriteFile
	add	esp,4
	mov	dword [ebp-616],eax
	push	_11482
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-620],0
	mov	dword [ebp-620],0
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11485
	call	_brl_blitz_NullObjectError
_11485:
	mov	eax,dword [ebx+68]
	sub	eax,1
	mov	dword [ebp-812],eax
	jmp	_11486
_768:
	mov	eax,ebp
	push	eax
	push	_11513
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11488
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-624],0
	mov	dword [ebp-624],0
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11491
	call	_brl_blitz_NullObjectError
_11491:
	mov	eax,dword [ebx+64]
	sub	eax,1
	mov	dword [ebp-736],eax
	jmp	_11492
_771:
	mov	eax,ebp
	push	eax
	push	_11512
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11494
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11496
	call	_brl_blitz_NullObjectError
_11496:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-596]
	cmp	ebx,dword [esi+20]
	jb	_11499
	call	_brl_blitz_ArrayBoundsError
_11499:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11501
	call	_brl_blitz_NullObjectError
_11501:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-604]
	cmp	ebx,dword [esi+20]
	jb	_11504
	call	_brl_blitz_ArrayBoundsError
_11504:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11506
	call	_brl_blitz_NullObjectError
_11506:
	mov	esi,dword [ebx+32]
	mov	eax,dword [ebp-624]
	imul	eax,dword [esi+24]
	mov	edi,eax
	cmp	edi,dword [esi+20]
	jb	_11509
	call	_brl_blitz_ArrayBoundsError
_11509:
	mov	ebx,dword [ebp-620]
	cmp	ebx,dword [esi+24]
	jb	_11511
	call	_brl_blitz_ArrayBoundsError
_11511:
	mov	eax,edi
	add	eax,ebx
	push	dword [esi+eax*4+28]
	push	dword [ebp-616]
	call	_brl_stream_WriteInt
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_769:
	add	dword [ebp-624],1
_11492:
	mov	eax,dword [ebp-736]
	cmp	dword [ebp-624],eax
	jle	_771
_770:
	call	dword [_bbOnDebugLeaveScope]
_766:
	add	dword [ebp-620],1
_11486:
	mov	eax,dword [ebp-812]
	cmp	dword [ebp-620],eax
	jle	_768
_767:
	push	_11514
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-616]
	call	_brl_filesystem_CloseFile
	add	esp,4
	push	_11515
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-608]
	cmp	ebx,_bbNullObject
	jne	_11517
	call	_brl_blitz_NullObjectError
_11517:
	mov	esi,dword [ebp-612]
	cmp	esi,_bbNullObject
	jne	_11520
	call	_brl_blitz_NullObjectError
_11520:
	push	8
	push	0
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+64]
	add	esp,4
	push	eax
	mov	eax,dword [ebp-612]
	lea	eax,dword [eax+8]
	push	eax
	call	dword [_bah_base64_TBase64+48]
	add	esp,16
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_11524
	push	eax
	call	_bbGCFree
	add	esp,4
_11524:
	mov	dword [ebx+12],esi
	push	_11525
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11526
	mov	eax,ebp
	push	eax
	push	_11528
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11527
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_603
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11526:
	push	_11529
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_772
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11530
	mov	eax,ebp
	push	eax
	push	_11532
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11531
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_772
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11530:
	push	_11533
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-600]
	cmp	ebx,_bbNullObject
	jne	_11535
	call	_brl_blitz_NullObjectError
_11535:
	push	1
	push	dword [ebp-604]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_632
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11537
	call	_brl_blitz_NullObjectError
_11537:
	push	_221
	push	dword [ebp-604]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-596]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_773
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_11542
	push	eax
	call	_bbGCFree
	add	esp,4
_11542:
	mov	dword [ebx+12],esi
	push	_11543
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_PortraitState]
	cmp	ebx,_bbNullObject
	jne	_11545
	call	_brl_blitz_NullObjectError
_11545:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-596]
	cmp	ebx,dword [esi+20]
	jb	_11548
	call	_brl_blitz_ArrayBoundsError
_11548:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11550
	call	_brl_blitz_NullObjectError
_11550:
	mov	esi,dword [ebx+16]
	mov	ebx,dword [ebp-604]
	cmp	ebx,dword [esi+20]
	jb	_11553
	call	_brl_blitz_ArrayBoundsError
_11553:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11555
	call	_brl_blitz_NullObjectError
_11555:
	push	5
	push	_221
	push	dword [ebp-604]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_634
	push	dword [ebp-596]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_774
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebx+20]
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_763:
	add	dword [ebp-604],1
_11472:
	mov	eax,dword [ebp-828]
	cmp	dword [ebp-604],eax
	jle	_765
_764:
	call	dword [_bbOnDebugLeaveScope]
_759:
	add	dword [ebp-596],1
_11401:
	mov	eax,dword [ebp-916]
	cmp	dword [ebp-596],eax
	jle	_761
_760:
	push	_11558
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_11559
	mov	eax,ebp
	push	eax
	push	_11562
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11560
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_775
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_11561
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_11559:
	push	_11563
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	cmp	ebx,_bbNullObject
	jne	_11565
	call	_brl_blitz_NullObjectError
_11565:
	push	1
	push	_776
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-76],eax
	push	_11567
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-76]
	cmp	ebx,_bbNullObject
	jne	_11569
	call	_brl_blitz_NullObjectError
_11569:
	push	1
	push	_471
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11571
	call	_brl_blitz_NullObjectError
_11571:
	mov	ebx,dword [_bb_MusicState]
	cmp	ebx,_bbNullObject
	jne	_11574
	call	_brl_blitz_NullObjectError
_11574:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11578
	push	eax
	call	_bbGCFree
	add	esp,4
_11578:
	mov	dword [esi+12],ebx
	push	_11579
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-628],0
	mov	dword [ebp-628],0
	mov	ebx,dword [_bb_MusicState]
	cmp	ebx,_bbNullObject
	jne	_11582
	call	_brl_blitz_NullObjectError
_11582:
	mov	eax,dword [ebx+12]
	sub	eax,1
	mov	dword [ebp-864],eax
	jmp	_11583
_779:
	mov	eax,ebp
	push	eax
	push	_11662
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11585
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-76]
	cmp	ebx,_bbNullObject
	jne	_11587
	call	_brl_blitz_NullObjectError
_11587:
	push	1
	push	_240
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-632],eax
	push	_11589
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-632]
	cmp	ebx,_bbNullObject
	jne	_11591
	call	_brl_blitz_NullObjectError
_11591:
	push	1
	push	_476
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11593
	call	_brl_blitz_NullObjectError
_11593:
	push	dword [ebp-628]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11598
	push	eax
	call	_bbGCFree
	add	esp,4
_11598:
	mov	dword [esi+12],ebx
	push	_11599
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_780
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11600
	mov	eax,ebp
	push	eax
	push	_11602
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11601
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_780
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11600:
	push	_11603
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MusicState]
	cmp	ebx,_bbNullObject
	jne	_11605
	call	_brl_blitz_NullObjectError
_11605:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-628]
	cmp	ebx,dword [esi+20]
	jb	_11608
	call	_brl_blitz_ArrayBoundsError
_11608:
	mov	edi,dword [esi+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_11610
	call	_brl_blitz_NullObjectError
_11610:
	mov	ebx,dword [_bb_MusicState]
	cmp	ebx,_bbNullObject
	jne	_11612
	call	_brl_blitz_NullObjectError
_11612:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-628]
	cmp	ebx,dword [esi+20]
	jb	_11615
	call	_brl_blitz_ArrayBoundsError
_11615:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11617
	call	_brl_blitz_NullObjectError
_11617:
	push	dword [ebx+8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	_783
	push	dword [ebp-12]
	push	_782
	push	dword [edi+8]
	push	_781
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_11618
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MusicState]
	cmp	ebx,_bbNullObject
	jne	_11620
	call	_brl_blitz_NullObjectError
_11620:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-628]
	cmp	ebx,dword [esi+20]
	jb	_11623
	call	_brl_blitz_ArrayBoundsError
_11623:
	mov	edi,dword [esi+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_11625
	call	_brl_blitz_NullObjectError
_11625:
	mov	ebx,dword [_bb_MusicState]
	cmp	ebx,_bbNullObject
	jne	_11627
	call	_brl_blitz_NullObjectError
_11627:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-628]
	cmp	ebx,dword [esi+20]
	jb	_11630
	call	_brl_blitz_ArrayBoundsError
_11630:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11632
	call	_brl_blitz_NullObjectError
_11632:
	push	dword [ebx+8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	_783
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [edi+8]
	call	_brl_filesystem_CopyFile
	add	esp,8
	push	_11633
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-632]
	cmp	ebx,_bbNullObject
	jne	_11635
	call	_brl_blitz_NullObjectError
_11635:
	push	1
	push	_485
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11637
	call	_brl_blitz_NullObjectError
_11637:
	mov	edi,ebx
	mov	ebx,dword [_bb_MusicState]
	cmp	ebx,_bbNullObject
	jne	_11640
	call	_brl_blitz_NullObjectError
_11640:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-628]
	cmp	ebx,dword [esi+20]
	jb	_11643
	call	_brl_blitz_ArrayBoundsError
_11643:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11645
	call	_brl_blitz_NullObjectError
_11645:
	push	dword [ebx+8]
	call	_brl_filesystem_StripDir
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_11649
	push	eax
	call	_bbGCFree
	add	esp,4
_11649:
	mov	dword [edi+12],ebx
	push	_11650
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_11651
	mov	eax,ebp
	push	eax
	push	_11661
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11652
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MusicState]
	cmp	ebx,_bbNullObject
	jne	_11654
	call	_brl_blitz_NullObjectError
_11654:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-628]
	cmp	ebx,dword [esi+20]
	jb	_11657
	call	_brl_blitz_ArrayBoundsError
_11657:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11659
	call	_brl_blitz_NullObjectError
_11659:
	push	dword [ebx+8]
	call	_brl_filesystem_StripExt
	add	esp,4
	push	eax
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	_784
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_11660
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_11651:
	call	dword [_bbOnDebugLeaveScope]
_777:
	add	dword [ebp-628],1
_11583:
	mov	eax,dword [ebp-864]
	cmp	dword [ebp-628],eax
	jle	_779
_778:
	push	_11664
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-44]
	cmp	ebx,_bbNullObject
	jne	_11666
	call	_brl_blitz_NullObjectError
_11666:
	push	1
	push	_785
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-80],eax
	push	_11668
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-80]
	cmp	ebx,_bbNullObject
	jne	_11670
	call	_brl_blitz_NullObjectError
_11670:
	push	1
	push	_471
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11672
	call	_brl_blitz_NullObjectError
_11672:
	mov	ebx,dword [_bb_SFXState]
	cmp	ebx,_bbNullObject
	jne	_11675
	call	_brl_blitz_NullObjectError
_11675:
	push	dword [ebx+12]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11679
	push	eax
	call	_bbGCFree
	add	esp,4
_11679:
	mov	dword [esi+12],ebx
	push	_11680
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-636],0
	mov	dword [ebp-636],0
	mov	ebx,dword [_bb_SFXState]
	cmp	ebx,_bbNullObject
	jne	_11683
	call	_brl_blitz_NullObjectError
_11683:
	mov	eax,dword [ebx+12]
	sub	eax,1
	mov	dword [ebp-860],eax
	jmp	_11684
_788:
	mov	eax,ebp
	push	eax
	push	_11763
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11686
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-80]
	cmp	ebx,_bbNullObject
	jne	_11688
	call	_brl_blitz_NullObjectError
_11688:
	push	1
	push	_789
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-640],eax
	push	_11690
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-640]
	cmp	ebx,_bbNullObject
	jne	_11692
	call	_brl_blitz_NullObjectError
_11692:
	push	1
	push	_476
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_11694
	call	_brl_blitz_NullObjectError
_11694:
	push	dword [ebp-636]
	call	_bbStringFromInt
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_11699
	push	eax
	call	_bbGCFree
	add	esp,4
_11699:
	mov	dword [esi+12],ebx
	push	_11700
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_790
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_11701
	mov	eax,ebp
	push	eax
	push	_11703
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11702
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_790
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_11701:
	push	_11704
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_SFXState]
	cmp	ebx,_bbNullObject
	jne	_11706
	call	_brl_blitz_NullObjectError
_11706:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-636]
	cmp	ebx,dword [esi+20]
	jb	_11709
	call	_brl_blitz_ArrayBoundsError
_11709:
	mov	edi,dword [esi+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_11711
	call	_brl_blitz_NullObjectError
_11711:
	mov	ebx,dword [_bb_SFXState]
	cmp	ebx,_bbNullObject
	jne	_11713
	call	_brl_blitz_NullObjectError
_11713:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-636]
	cmp	ebx,dword [esi+20]
	jb	_11716
	call	_brl_blitz_ArrayBoundsError
_11716:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11718
	call	_brl_blitz_NullObjectError
_11718:
	push	dword [ebx+8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	_792
	push	dword [ebp-12]
	push	_782
	push	dword [edi+8]
	push	_791
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_11719
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_SFXState]
	cmp	ebx,_bbNullObject
	jne	_11721
	call	_brl_blitz_NullObjectError
_11721:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-636]
	cmp	ebx,dword [esi+20]
	jb	_11724
	call	_brl_blitz_ArrayBoundsError
_11724:
	mov	edi,dword [esi+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_11726
	call	_brl_blitz_NullObjectError
_11726:
	mov	ebx,dword [_bb_SFXState]
	cmp	ebx,_bbNullObject
	jne	_11728
	call	_brl_blitz_NullObjectError
_11728:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-636]
	cmp	ebx,dword [esi+20]
	jb	_11731
	call	_brl_blitz_ArrayBoundsError
_11731:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11733
	call	_brl_blitz_NullObjectError
_11733:
	push	dword [ebx+8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	_792
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [edi+8]
	call	_brl_filesystem_CopyFile
	add	esp,8
	push	_11734
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-640]
	cmp	ebx,_bbNullObject
	jne	_11736
	call	_brl_blitz_NullObjectError
_11736:
	push	1
	push	_485
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_11738
	call	_brl_blitz_NullObjectError
_11738:
	mov	edi,ebx
	mov	ebx,dword [_bb_SFXState]
	cmp	ebx,_bbNullObject
	jne	_11741
	call	_brl_blitz_NullObjectError
_11741:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-636]
	cmp	ebx,dword [esi+20]
	jb	_11744
	call	_brl_blitz_ArrayBoundsError
_11744:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11746
	call	_brl_blitz_NullObjectError
_11746:
	push	dword [ebx+8]
	call	_brl_filesystem_StripDir
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_11750
	push	eax
	call	_bbGCFree
	add	esp,4
_11750:
	mov	dword [edi+12],ebx
	push	_11751
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_11752
	mov	eax,ebp
	push	eax
	push	_11762
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11753
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_SFXState]
	cmp	ebx,_bbNullObject
	jne	_11755
	call	_brl_blitz_NullObjectError
_11755:
	mov	esi,dword [ebx+8]
	mov	ebx,dword [ebp-636]
	cmp	ebx,dword [esi+20]
	jb	_11758
	call	_brl_blitz_ArrayBoundsError
_11758:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_11760
	call	_brl_blitz_NullObjectError
_11760:
	push	dword [ebx+8]
	call	_brl_filesystem_StripExt
	add	esp,4
	push	eax
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	_793
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_11761
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_11752:
	call	dword [_bbOnDebugLeaveScope]
_786:
	add	dword [ebp-636],1
_11684:
	mov	eax,dword [ebp-860]
	cmp	dword [ebp-636],eax
	jle	_788
_787:
	push	_11765
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_11766
	mov	eax,ebp
	push	eax
	push	_11769
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11767
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_794
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_11768
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_11766:
	push	_11770
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_11772
	call	_brl_blitz_NullObjectError
_11772:
	push	1
	push	_795
	push	dword [ebp-12]
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	push	_11773
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_11774
	mov	eax,ebp
	push	eax
	push	_11777
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_11775
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_796
	push	dword [ebp-16]
	call	_maxgui_maxgui_SetStatusText
	add	esp,8
	push	_11776
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_PollEvent
	call	dword [_bbOnDebugLeaveScope]
_11774:
	mov	ebx,0
	jmp	_1793
_1793:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_2138:
	dd	0
_1884:
	db	"custom",0
_1885:
	db	"genMaxHeroPic",0
_805:
	db	"i",0
	align	4
_1886:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	50,54
_1887:
	db	"genMaxEnemy1Pic",0
	align	4
_1888:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	50,55
_1889:
	db	"genMaxEnemy2Pic",0
	align	4
_1890:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	50,56
_1891:
	db	"genMaxEnemy3Pic",0
	align	4
_1892:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	50,57
_1893:
	db	"genMaxNPCPic",0
	align	4
_1894:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,48
_1895:
	db	"genMaxWeaponPic",0
	align	4
_1896:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,49
_1897:
	db	"genMaxAttackPic",0
	align	4
_1898:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,50
_1899:
	db	"genMaxTile",0
	align	4
_1900:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,51
_1901:
	db	"genMaxAttack",0
	align	4
_1902:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,52
_1903:
	db	"genMaxHero",0
	align	4
_1904:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,53
_1905:
	db	"genMaxEnemy",0
	align	4
_1906:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,54
_1907:
	db	"genMaxFormation",0
	align	4
_1908:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,55
_1909:
	db	"genMaxPal",0
	align	4
_1910:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,56
_1911:
	db	"genMaxTextbox",0
	align	4
_1912:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	51,57
_1913:
	db	"genNumPlotscripts",0
	align	4
_1914:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,48
_1915:
	db	"genNewGameScript",0
	align	4
_1916:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,49
_1917:
	db	"genGameoverScript",0
	align	4
_1918:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,50
_1919:
	db	"genMaxRegularScript",0
	align	4
_1920:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,51
_1921:
	db	"genSuspendBits",0
	align	4
_1922:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,52
_1923:
	db	"genCamera",0
	align	4
_1924:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,53
_1925:
	db	"genCamArg1",0
	align	4
_1926:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,54
_1927:
	db	"genCamArg2",0
	align	4
_1928:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,55
_1929:
	db	"genCamArg3",0
	align	4
_1930:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,56
_1931:
	db	"genCamArg4",0
	align	4
_1932:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	52,57
_1933:
	db	"genScrBackdrop",0
	align	4
_1934:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,48
_1935:
	db	"genDays",0
	align	4
_1936:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,49
_1937:
	db	"genHours",0
	align	4
_1938:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,50
_1939:
	db	"genMinutes",0
	align	4
_1940:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,51
_1941:
	db	"genSeconds",0
	align	4
_1942:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,52
_1943:
	db	"genMaxVehicle",0
	align	4
_1944:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,53
_1945:
	db	"genMaxTagname",0
	align	4
_1946:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,54
_1947:
	db	"genLoadGameScript",0
	align	4
_1948:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,55
_1949:
	db	"genTextboxBackdrop",0
	align	4
_1950:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,56
_1951:
	db	"genEnemyDissolve",0
	align	4
_1952:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	53,57
_1953:
	db	"genJoy",0
	align	4
_1954:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	54,48
_1955:
	db	"genPoison",0
	align	4
_1956:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	54,49
_1957:
	db	"genStun",0
	align	4
_1958:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	54,50
_1959:
	db	"genDamageCap",0
	align	4
_1960:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	54,51
_1961:
	db	"genMute",0
	align	4
_1962:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	54,52
_1963:
	db	"genStatCap",0
	align	4
_1964:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	54,53
_1965:
	db	"genMaxSFX",0
	align	4
_1966:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	55,55
_1967:
	db	"genMasterPal",0
	align	4
_1968:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	55,56
_1969:
	db	"genMaxMasterPal",0
	align	4
_1970:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	55,57
_1971:
	db	"genMaxMenu",0
	align	4
_1972:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,48
_1973:
	db	"genMaxMenuItem",0
	align	4
_1974:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,49
_1975:
	db	"genMaxItem",0
	align	4
_1976:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,50
_1977:
	db	"genMaxBoxBorder",0
	align	4
_1978:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,51
_1979:
	db	"genMaxPortrait",0
	align	4
_1980:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,52
_1981:
	db	"genMaxInventory",0
	align	4
_1982:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,53
_1983:
	db	"genErrorLevel",0
	align	4
_1984:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,54
_1985:
	db	"genLevelCap",0
	align	4
_1986:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,55
_1987:
	db	"genEquipMergeFormula",0
	align	4
_1988:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,56
_1989:
	db	"genNumElements",0
	align	4
_1990:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	56,57
_1991:
	db	"genUnlockedReserveXP",0
	align	4
_1992:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,48
_1993:
	db	"genLockedReserveXP",0
	align	4
_1994:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,49
_1995:
	db	"genPW4Hash",0
	align	4
_1996:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,50
_1997:
	db	"genPW2Offset",0
	align	4
_1998:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,51
_1999:
	db	"genPW2Length",0
	align	4
_2000:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,52
_2001:
	db	"genVersion",0
	align	4
_2002:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,53
_2003:
	db	"genStartMoney",0
	align	4
_2004:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,54
_2005:
	db	"genMaxShop",0
	align	4
_2006:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,55
_2007:
	db	"genPW1Offset",0
	align	4
_2008:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,56
_2009:
	db	"genPW1Length",0
	align	4
_2010:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	57,57
_2011:
	db	"genNumBackdrops",0
	align	4
_2012:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,48
_2013:
	db	"genBits",0
	align	4
_1170:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,49
_2014:
	db	"genStartX",0
	align	4
_1172:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,50
_2015:
	db	"genStartY",0
	align	4
_1174:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,51
_2016:
	db	"genStartMap",0
	align	4
_1178:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,52
_2017:
	db	"genOneTimeNPC",0
	align	4
_1180:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,53
_2018:
	db	"genOneTimeNPCBits",0
	align	4
_1182:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,54
_2019:
	db	"genDefaultDeathSFX",0
	align	4
_2020:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,55,49
_2021:
	db	"genMaxSong",0
	align	4
_2022:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,55,50
_2023:
	db	"genAcceptSFX",0
	align	4
_2024:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,55,51
_2025:
	db	"genCancelSFX",0
	align	4
_2026:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,55,52
_2027:
	db	"genCursorSFX",0
	align	4
_2028:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,55,53
_2029:
	db	"genTextboxLine",0
	align	4
_2030:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,55,54
_2031:
	db	"genBits2",0
	align	4
_2032:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,55,55
_2033:
	db	"genBits3",0
	align	4
_2034:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,55,56
_2035:
	db	"genItemLearnSFX",0
	align	4
_2036:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,55,57
_2037:
	db	"genCantLearnSFX",0
	align	4
_2038:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,48
_2039:
	db	"genBuySFX",0
	align	4
_2040:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,49
_2041:
	db	"genHireSFX",0
	align	4
_2042:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,50
_2043:
	db	"genSellSFX",0
	align	4
_2044:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,51
_2045:
	db	"genCantBuySFX",0
	align	4
_2046:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,52
_2047:
	db	"genCantSellSFX",0
	align	4
_2048:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,53
_2049:
	db	"genDamageDisplayTicks",0
	align	4
_2050:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,54
_2051:
	db	"genDamageDisplayRise",0
	align	4
_2052:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,55
_2053:
	db	"genHeroWeakHP",0
	align	4
_2054:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,56
_2055:
	db	"genEnemyWeakHP",0
	align	4
_2056:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,56,57
_2057:
	db	"genAutosortScheme",0
	align	4
_2058:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,57,48
_2059:
	db	"genMaxLevel",0
	align	4
_2060:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,57,49
_2061:
	db	"genBattleMode",0
	align	4
_2062:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,57,50
_2063:
	db	"genItemStackSize",0
	align	4
_2064:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,57,51
_2065:
	db	"genResolutionX",0
	align	4
_2066:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,57,52
_2067:
	db	"genResolutionY",0
	align	4
_2068:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,57,53
_2069:
	db	"binATTACK",0
	align	4
_886:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	48
_2070:
	db	"binSTF",0
	align	4
_806:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	49
_2071:
	db	"binSONGDATA",0
	align	4
_808:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	50
_2072:
	db	"binSFXDATA",0
	align	4
_890:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	51
_2073:
	db	"binMAP",0
	align	4
_892:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	52
_2074:
	db	"binMENUS",0
	align	4
_894:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	53
_2075:
	db	"binMENUITEM",0
	align	4
_810:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	54
_2076:
	db	"binUICOLORS",0
	align	4
_897:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	55
_2077:
	db	"binSAY",0
	align	4
_899:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	56
_2078:
	db	"binN",0
	align	4
_902:
	dd	_bbStringClass
	dd	2147483646
	dd	1
	dw	57
_2079:
	db	"binDT0",0
	align	4
_905:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	49,48
_2080:
	db	"binDT1",0
	align	4
_2081:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	49,49
_2082:
	db	"binITM",0
	align	4
_2083:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	49,50
_2084:
	db	"sizebinsize",0
_2085:
	db	"max_npc_defs",0
	align	4
_2086:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	53,48,48
_2087:
	db	"maxMaxItems",0
	align	4
_2088:
	dd	_bbStringClass
	dd	2147483646
	dd	5
	dw	51,50,48,48,48
_2089:
	db	"maxMaxHero",0
_2090:
	db	"inventoryMax",0
	align	4
_2091:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	53,57,57
_2092:
	db	"maplayerMax",0
_2093:
	db	"mapTilesMax",0
	align	4
_2094:
	dd	_bbStringClass
	dd	2147483646
	dd	6
	dw	49,48,48,48,48,48
_2095:
	db	"dissolveTypeMax",0
_2096:
	db	"maxElements",0
_2097:
	db	"tempZone",0
	align	4
_2098:
	dd	_bbStringClass
	dd	2147483646
	dd	5
	dw	49,48,48,48,48
_2099:
	db	"maxMapHistoryMem",0
	align	4
_2100:
	dd	_bbStringClass
	dd	2147483646
	dd	7
	dw	49,48,48,48,48,48,48
_2101:
	db	"maxScriptGlobals",0
	align	4
_2102:
	dd	_bbStringClass
	dd	2147483646
	dd	5
	dw	49,54,51,56,51
_2103:
	db	"maxScriptStrings",0
_2104:
	db	"maxScriptHeap",0
	align	4
_2105:
	dd	_bbStringClass
	dd	2147483646
	dd	4
	dw	56,49,57,50
_2106:
	db	"maxScriptRunning",0
	align	4
_2107:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,50,56
_2108:
	db	"Game",0
_819:
	db	"$",0
	align	4
_bb_Game:
	dd	_bbEmptyString
_2109:
	db	"GamePath",0
	align	4
_bb_GamePath:
	dd	_bbEmptyString
_2110:
	db	"EID",0
	align	4
_bb_EID:
	dd	0
_2111:
	db	"MainED",0
_2112:
	db	":MainEditor",0
	align	4
_bb_MainED:
	dd	_bbNullObject
_2113:
	db	"WalkaboutState",0
_1222:
	db	":SpriteState",0
	align	4
_bb_WalkaboutState:
	dd	_bbNullObject
_2114:
	db	"HeroState",0
	align	4
_bb_HeroState:
	dd	_bbNullObject
_2115:
	db	"SmallEnemyState",0
	align	4
_bb_SmallEnemyState:
	dd	_bbNullObject
_2116:
	db	"MediumEnemyState",0
	align	4
_bb_MediumEnemyState:
	dd	_bbNullObject
_2117:
	db	"LargeEnemyState",0
	align	4
_bb_LargeEnemyState:
	dd	_bbNullObject
_2118:
	db	"AttackState",0
	align	4
_bb_AttackState:
	dd	_bbNullObject
_2119:
	db	"WeaponState",0
	align	4
_bb_WeaponState:
	dd	_bbNullObject
_2120:
	db	"BoxState",0
	align	4
_bb_BoxState:
	dd	_bbNullObject
_2121:
	db	"PortraitState",0
	align	4
_bb_PortraitState:
	dd	_bbNullObject
_2122:
	db	"TileSState",0
_1233:
	db	":TilsetState",0
	align	4
_bb_TileSState:
	dd	_bbNullObject
_2123:
	db	"MusicState",0
_2124:
	db	":SongState",0
	align	4
_bb_MusicState:
	dd	_bbNullObject
_2125:
	db	"SFXState",0
_2126:
	db	":SoundState",0
	align	4
_bb_SFXState:
	dd	_bbNullObject
_2127:
	db	"Maps",0
_824:
	db	":brl.linkedlist.TList",0
	align	4
_bb_Maps:
	dd	_bbNullObject
_2128:
	db	"BackdropSet",0
_2129:
	db	":BackdropState",0
	align	4
_bb_BackdropSet:
	dd	_bbNullObject
_2130:
	db	"RPGLump",0
_874:
	db	":FileLump",0
	align	4
_bb_RPGLump:
	dd	_bbNullObject
_2131:
	db	"MasterPalette",0
_2132:
	db	"[]:Palette256",0
	align	4
_bb_MasterPalette:
	dd	_bbEmptyArray
_2133:
	db	"DefPalette",0
	align	4
_bb_DefPalette:
	dd	_bbEmptyArray
_2134:
	db	"Gen",0
_915:
	db	"[]i",0
	align	4
_bb_Gen:
	dd	_bbEmptyArray
_2135:
	db	"proc",0
_2136:
	db	":pub.freeprocess.TProcess",0
	align	4
_bb_proc:
	dd	_bbNullObject
_2137:
	db	"version",0
	align	4
_797:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	118,48,46,49,46,49
	align	4
_bb_version:
	dd	_797
	align	4
_1883:
	dd	1
	dd	_1884
	dd	1
	dd	_1885
	dd	_805
	dd	_1886
	dd	1
	dd	_1887
	dd	_805
	dd	_1888
	dd	1
	dd	_1889
	dd	_805
	dd	_1890
	dd	1
	dd	_1891
	dd	_805
	dd	_1892
	dd	1
	dd	_1893
	dd	_805
	dd	_1894
	dd	1
	dd	_1895
	dd	_805
	dd	_1896
	dd	1
	dd	_1897
	dd	_805
	dd	_1898
	dd	1
	dd	_1899
	dd	_805
	dd	_1900
	dd	1
	dd	_1901
	dd	_805
	dd	_1902
	dd	1
	dd	_1903
	dd	_805
	dd	_1904
	dd	1
	dd	_1905
	dd	_805
	dd	_1906
	dd	1
	dd	_1907
	dd	_805
	dd	_1908
	dd	1
	dd	_1909
	dd	_805
	dd	_1910
	dd	1
	dd	_1911
	dd	_805
	dd	_1912
	dd	1
	dd	_1913
	dd	_805
	dd	_1914
	dd	1
	dd	_1915
	dd	_805
	dd	_1916
	dd	1
	dd	_1917
	dd	_805
	dd	_1918
	dd	1
	dd	_1919
	dd	_805
	dd	_1920
	dd	1
	dd	_1921
	dd	_805
	dd	_1922
	dd	1
	dd	_1923
	dd	_805
	dd	_1924
	dd	1
	dd	_1925
	dd	_805
	dd	_1926
	dd	1
	dd	_1927
	dd	_805
	dd	_1928
	dd	1
	dd	_1929
	dd	_805
	dd	_1930
	dd	1
	dd	_1931
	dd	_805
	dd	_1932
	dd	1
	dd	_1933
	dd	_805
	dd	_1934
	dd	1
	dd	_1935
	dd	_805
	dd	_1936
	dd	1
	dd	_1937
	dd	_805
	dd	_1938
	dd	1
	dd	_1939
	dd	_805
	dd	_1940
	dd	1
	dd	_1941
	dd	_805
	dd	_1942
	dd	1
	dd	_1943
	dd	_805
	dd	_1944
	dd	1
	dd	_1945
	dd	_805
	dd	_1946
	dd	1
	dd	_1947
	dd	_805
	dd	_1948
	dd	1
	dd	_1949
	dd	_805
	dd	_1950
	dd	1
	dd	_1951
	dd	_805
	dd	_1952
	dd	1
	dd	_1953
	dd	_805
	dd	_1954
	dd	1
	dd	_1955
	dd	_805
	dd	_1956
	dd	1
	dd	_1957
	dd	_805
	dd	_1958
	dd	1
	dd	_1959
	dd	_805
	dd	_1960
	dd	1
	dd	_1961
	dd	_805
	dd	_1962
	dd	1
	dd	_1963
	dd	_805
	dd	_1964
	dd	1
	dd	_1965
	dd	_805
	dd	_1966
	dd	1
	dd	_1967
	dd	_805
	dd	_1968
	dd	1
	dd	_1969
	dd	_805
	dd	_1970
	dd	1
	dd	_1971
	dd	_805
	dd	_1972
	dd	1
	dd	_1973
	dd	_805
	dd	_1974
	dd	1
	dd	_1975
	dd	_805
	dd	_1976
	dd	1
	dd	_1977
	dd	_805
	dd	_1978
	dd	1
	dd	_1979
	dd	_805
	dd	_1980
	dd	1
	dd	_1981
	dd	_805
	dd	_1982
	dd	1
	dd	_1983
	dd	_805
	dd	_1984
	dd	1
	dd	_1985
	dd	_805
	dd	_1986
	dd	1
	dd	_1987
	dd	_805
	dd	_1988
	dd	1
	dd	_1989
	dd	_805
	dd	_1990
	dd	1
	dd	_1991
	dd	_805
	dd	_1992
	dd	1
	dd	_1993
	dd	_805
	dd	_1994
	dd	1
	dd	_1995
	dd	_805
	dd	_1996
	dd	1
	dd	_1997
	dd	_805
	dd	_1998
	dd	1
	dd	_1999
	dd	_805
	dd	_2000
	dd	1
	dd	_2001
	dd	_805
	dd	_2002
	dd	1
	dd	_2003
	dd	_805
	dd	_2004
	dd	1
	dd	_2005
	dd	_805
	dd	_2006
	dd	1
	dd	_2007
	dd	_805
	dd	_2008
	dd	1
	dd	_2009
	dd	_805
	dd	_2010
	dd	1
	dd	_2011
	dd	_805
	dd	_2012
	dd	1
	dd	_2013
	dd	_805
	dd	_1170
	dd	1
	dd	_2014
	dd	_805
	dd	_1172
	dd	1
	dd	_2015
	dd	_805
	dd	_1174
	dd	1
	dd	_2016
	dd	_805
	dd	_1178
	dd	1
	dd	_2017
	dd	_805
	dd	_1180
	dd	1
	dd	_2018
	dd	_805
	dd	_1182
	dd	1
	dd	_2019
	dd	_805
	dd	_2020
	dd	1
	dd	_2021
	dd	_805
	dd	_2022
	dd	1
	dd	_2023
	dd	_805
	dd	_2024
	dd	1
	dd	_2025
	dd	_805
	dd	_2026
	dd	1
	dd	_2027
	dd	_805
	dd	_2028
	dd	1
	dd	_2029
	dd	_805
	dd	_2030
	dd	1
	dd	_2031
	dd	_805
	dd	_2032
	dd	1
	dd	_2033
	dd	_805
	dd	_2034
	dd	1
	dd	_2035
	dd	_805
	dd	_2036
	dd	1
	dd	_2037
	dd	_805
	dd	_2038
	dd	1
	dd	_2039
	dd	_805
	dd	_2040
	dd	1
	dd	_2041
	dd	_805
	dd	_2042
	dd	1
	dd	_2043
	dd	_805
	dd	_2044
	dd	1
	dd	_2045
	dd	_805
	dd	_2046
	dd	1
	dd	_2047
	dd	_805
	dd	_2048
	dd	1
	dd	_2049
	dd	_805
	dd	_2050
	dd	1
	dd	_2051
	dd	_805
	dd	_2052
	dd	1
	dd	_2053
	dd	_805
	dd	_2054
	dd	1
	dd	_2055
	dd	_805
	dd	_2056
	dd	1
	dd	_2057
	dd	_805
	dd	_2058
	dd	1
	dd	_2059
	dd	_805
	dd	_2060
	dd	1
	dd	_2061
	dd	_805
	dd	_2062
	dd	1
	dd	_2063
	dd	_805
	dd	_2064
	dd	1
	dd	_2065
	dd	_805
	dd	_2066
	dd	1
	dd	_2067
	dd	_805
	dd	_2068
	dd	1
	dd	_2069
	dd	_805
	dd	_886
	dd	1
	dd	_2070
	dd	_805
	dd	_806
	dd	1
	dd	_2071
	dd	_805
	dd	_808
	dd	1
	dd	_2072
	dd	_805
	dd	_890
	dd	1
	dd	_2073
	dd	_805
	dd	_892
	dd	1
	dd	_2074
	dd	_805
	dd	_894
	dd	1
	dd	_2075
	dd	_805
	dd	_810
	dd	1
	dd	_2076
	dd	_805
	dd	_897
	dd	1
	dd	_2077
	dd	_805
	dd	_899
	dd	1
	dd	_2078
	dd	_805
	dd	_902
	dd	1
	dd	_2079
	dd	_805
	dd	_905
	dd	1
	dd	_2080
	dd	_805
	dd	_2081
	dd	1
	dd	_2082
	dd	_805
	dd	_2083
	dd	1
	dd	_2084
	dd	_805
	dd	_2083
	dd	1
	dd	_2085
	dd	_805
	dd	_2086
	dd	1
	dd	_2087
	dd	_805
	dd	_2088
	dd	1
	dd	_2089
	dd	_805
	dd	_1952
	dd	1
	dd	_2090
	dd	_805
	dd	_2091
	dd	1
	dd	_2092
	dd	_805
	dd	_897
	dd	1
	dd	_2093
	dd	_805
	dd	_2094
	dd	1
	dd	_2095
	dd	_805
	dd	_905
	dd	1
	dd	_2096
	dd	_805
	dd	_1962
	dd	1
	dd	_2097
	dd	_805
	dd	_2098
	dd	1
	dd	_2099
	dd	_805
	dd	_2100
	dd	1
	dd	_2101
	dd	_805
	dd	_2102
	dd	1
	dd	_2103
	dd	_805
	dd	_2010
	dd	1
	dd	_2104
	dd	_805
	dd	_2105
	dd	1
	dd	_2106
	dd	_805
	dd	_2107
	dd	4
	dd	_2108
	dd	_819
	dd	_bb_Game
	dd	4
	dd	_2109
	dd	_819
	dd	_bb_GamePath
	dd	4
	dd	_2110
	dd	_805
	dd	_bb_EID
	dd	4
	dd	_2111
	dd	_2112
	dd	_bb_MainED
	dd	4
	dd	_2113
	dd	_1222
	dd	_bb_WalkaboutState
	dd	4
	dd	_2114
	dd	_1222
	dd	_bb_HeroState
	dd	4
	dd	_2115
	dd	_1222
	dd	_bb_SmallEnemyState
	dd	4
	dd	_2116
	dd	_1222
	dd	_bb_MediumEnemyState
	dd	4
	dd	_2117
	dd	_1222
	dd	_bb_LargeEnemyState
	dd	4
	dd	_2118
	dd	_1222
	dd	_bb_AttackState
	dd	4
	dd	_2119
	dd	_1222
	dd	_bb_WeaponState
	dd	4
	dd	_2120
	dd	_1222
	dd	_bb_BoxState
	dd	4
	dd	_2121
	dd	_1222
	dd	_bb_PortraitState
	dd	4
	dd	_2122
	dd	_1233
	dd	_bb_TileSState
	dd	4
	dd	_2123
	dd	_2124
	dd	_bb_MusicState
	dd	4
	dd	_2125
	dd	_2126
	dd	_bb_SFXState
	dd	4
	dd	_2127
	dd	_824
	dd	_bb_Maps
	dd	4
	dd	_2128
	dd	_2129
	dd	_bb_BackdropSet
	dd	4
	dd	_2130
	dd	_874
	dd	_bb_RPGLump
	dd	4
	dd	_2131
	dd	_2132
	dd	_bb_MasterPalette
	dd	4
	dd	_2133
	dd	_2132
	dd	_bb_DefPalette
	dd	4
	dd	_2134
	dd	_915
	dd	_bb_Gen
	dd	4
	dd	_2135
	dd	_2136
	dd	_bb_proc
	dd	4
	dd	_2137
	dd	_819
	dd	_bb_version
	dd	0
_803:
	db	"Lumptype",0
_804:
	db	"LT_LUMPED",0
_807:
	db	"LT_FILE",0
_809:
	db	"LT_NUM",0
_811:
	db	"New",0
_812:
	db	"()i",0
_813:
	db	"Delete",0
	align	4
_802:
	dd	2
	dd	_803
	dd	1
	dd	_804
	dd	_805
	dd	_806
	dd	1
	dd	_807
	dd	_805
	dd	_808
	dd	1
	dd	_809
	dd	_805
	dd	_810
	dd	6
	dd	_811
	dd	_812
	dd	__bb_Lumptype_New
	dd	6
	dd	_813
	dd	_812
	dd	__bb_Lumptype_Delete
	dd	0
	align	4
_bb_Lumptype:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_802
	dd	8
	dd	__bb_Lumptype_New
	dd	__bb_Lumptype_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_815:
	db	"LumpedLump",0
_816:
	db	"Ltype",0
_817:
	db	":Lumptype",0
_818:
	db	"lumpname",0
_820:
	db	"length",0
_821:
	db	"bucket_chain",0
_822:
	db	":Lump",0
_823:
	db	"seq",0
_825:
	db	"index",0
_826:
	db	":LumpIndex",0
_827:
	db	"opencount",0
_828:
	db	"offset",0
	align	4
_814:
	dd	2
	dd	_815
	dd	3
	dd	_816
	dd	_817
	dd	8
	dd	3
	dd	_818
	dd	_819
	dd	12
	dd	3
	dd	_820
	dd	_805
	dd	16
	dd	3
	dd	_821
	dd	_822
	dd	20
	dd	3
	dd	_823
	dd	_824
	dd	24
	dd	3
	dd	_825
	dd	_826
	dd	28
	dd	3
	dd	_827
	dd	_805
	dd	32
	dd	3
	dd	_828
	dd	_805
	dd	36
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_LumpedLump:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_814
	dd	40
	dd	__bb_LumpedLump_New
	dd	__bb_LumpedLump_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_830:
	db	"FileLump",0
_831:
	db	"fhandle",0
_832:
	db	"filename",0
_833:
	db	"istemp",0
_834:
	db	"unlump",0
_835:
	db	"(:maxgui.maxgui.TGadget)i",0
_836:
	db	"LoadGeneralData",0
_837:
	db	"Upgrade",0
_838:
	db	"UpgradeSongs",0
_839:
	db	"LoadRecord",0
_840:
	db	"([]i,$,i,i,b)i",0
_841:
	db	"LoadRecordStream",0
_842:
	db	"([]i,:brl.stream.TStream,i,i,b)i",0
_843:
	db	"loadrecords",0
_844:
	db	"([]i,:brl.stream.TStream,i,i)i",0
_845:
	db	"xbload",0
_846:
	db	"($,[]i,$)i",0
_847:
	db	"unlumpfile",0
_848:
	db	"defbinsize",0
_849:
	db	"(i)i",0
_850:
	db	"curbinsize",0
_851:
	db	"getbinsize",0
_852:
	db	"dimbinsize",0
_853:
	db	"maplumpname",0
_854:
	db	"(i,$)$",0
_855:
	db	"Large",0
_856:
	db	"(i,i)i",0
_857:
	db	"Small",0
_858:
	db	"boundInt",0
_859:
	db	"(i,i,i)i",0
_860:
	db	"boundShort",0
_861:
	db	"(s,s,s)s",0
_862:
	db	"array2str",0
_863:
	db	"([]i,i,[]i)$",0
_864:
	db	"matchmask",0
_865:
	db	"($,$)i",0
	align	4
_829:
	dd	2
	dd	_830
	dd	3
	dd	_816
	dd	_817
	dd	8
	dd	3
	dd	_818
	dd	_819
	dd	12
	dd	3
	dd	_820
	dd	_805
	dd	16
	dd	3
	dd	_821
	dd	_822
	dd	20
	dd	3
	dd	_823
	dd	_824
	dd	24
	dd	3
	dd	_825
	dd	_826
	dd	28
	dd	3
	dd	_827
	dd	_805
	dd	32
	dd	3
	dd	_831
	dd	_805
	dd	36
	dd	3
	dd	_832
	dd	_819
	dd	40
	dd	3
	dd	_833
	dd	_805
	dd	44
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_834
	dd	_835
	dd	48
	dd	6
	dd	_836
	dd	_812
	dd	52
	dd	6
	dd	_837
	dd	_812
	dd	56
	dd	6
	dd	_838
	dd	_812
	dd	60
	dd	6
	dd	_839
	dd	_840
	dd	64
	dd	6
	dd	_841
	dd	_842
	dd	68
	dd	6
	dd	_843
	dd	_844
	dd	72
	dd	6
	dd	_845
	dd	_846
	dd	76
	dd	6
	dd	_847
	dd	_835
	dd	80
	dd	7
	dd	_848
	dd	_849
	dd	84
	dd	7
	dd	_850
	dd	_849
	dd	88
	dd	7
	dd	_851
	dd	_849
	dd	92
	dd	7
	dd	_852
	dd	_849
	dd	96
	dd	7
	dd	_853
	dd	_854
	dd	100
	dd	7
	dd	_855
	dd	_856
	dd	104
	dd	7
	dd	_857
	dd	_856
	dd	108
	dd	7
	dd	_858
	dd	_859
	dd	112
	dd	7
	dd	_860
	dd	_861
	dd	116
	dd	7
	dd	_862
	dd	_863
	dd	120
	dd	7
	dd	_864
	dd	_865
	dd	124
	dd	0
	align	4
_bb_FileLump:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_829
	dd	48
	dd	__bb_FileLump_New
	dd	__bb_FileLump_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_FileLump_unlump
	dd	__bb_FileLump_LoadGeneralData
	dd	__bb_FileLump_Upgrade
	dd	__bb_FileLump_UpgradeSongs
	dd	__bb_FileLump_LoadRecord
	dd	__bb_FileLump_LoadRecordStream
	dd	__bb_FileLump_loadrecords
	dd	__bb_FileLump_xbload
	dd	__bb_FileLump_unlumpfile
	dd	__bb_FileLump_defbinsize
	dd	__bb_FileLump_curbinsize
	dd	__bb_FileLump_getbinsize
	dd	__bb_FileLump_dimbinsize
	dd	__bb_FileLump_maplumpname
	dd	__bb_FileLump_Large
	dd	__bb_FileLump_Small
	dd	__bb_FileLump_boundInt
	dd	__bb_FileLump_boundShort
	dd	__bb_FileLump_array2str
	dd	__bb_FileLump_matchmask
_867:
	db	"Lump",0
	align	4
_866:
	dd	2
	dd	_867
	dd	3
	dd	_816
	dd	_817
	dd	8
	dd	3
	dd	_818
	dd	_819
	dd	12
	dd	3
	dd	_820
	dd	_805
	dd	16
	dd	3
	dd	_821
	dd	_822
	dd	20
	dd	3
	dd	_823
	dd	_824
	dd	24
	dd	3
	dd	_825
	dd	_826
	dd	28
	dd	3
	dd	_827
	dd	_805
	dd	32
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_Lump:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_866
	dd	36
	dd	__bb_Lump_New
	dd	__bb_Lump_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_869:
	db	"LumpUnion",0
_870:
	db	"base",0
_871:
	db	"lumped",0
_872:
	db	":LumpedLump",0
_873:
	db	"file",0
	align	4
_868:
	dd	2
	dd	_869
	dd	3
	dd	_870
	dd	_822
	dd	8
	dd	3
	dd	_871
	dd	_872
	dd	12
	dd	3
	dd	_873
	dd	_874
	dd	16
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_LumpUnion:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_868
	dd	20
	dd	__bb_LumpUnion_New
	dd	__bb_LumpUnion_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_876:
	db	"LumpIndex",0
_877:
	db	"tablesize",0
_878:
	db	"table",0
_879:
	db	"lumps",0
_880:
	db	"unlumpeddir",0
	align	4
_875:
	dd	2
	dd	_876
	dd	3
	dd	_877
	dd	_805
	dd	8
	dd	3
	dd	_878
	dd	_822
	dd	12
	dd	3
	dd	_879
	dd	_824
	dd	16
	dd	3
	dd	_831
	dd	_805
	dd	20
	dd	3
	dd	_880
	dd	_819
	dd	24
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_LumpIndex:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_875
	dd	28
	dd	__bb_LumpIndex_New
	dd	__bb_LumpIndex_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_882:
	db	"SpriteType",0
_883:
	db	"sprTypeInvalid",0
	align	4
_884:
	dd	_bbStringClass
	dd	2147483646
	dd	2
	dw	45,49
_885:
	db	"sprTypeHero",0
_887:
	db	"sprTypeSmallEnemy",0
_888:
	db	"sprTypeMediumEnemy",0
_889:
	db	"sprTypeLargeEnemy",0
_891:
	db	"sprTypeWalkabout",0
_893:
	db	"sprTypeWeapon",0
_895:
	db	"sprTypeAttack",0
_896:
	db	"sprTypeBoxBorder",0
_898:
	db	"sprTypePortrait",0
_900:
	db	"sprTypeLastPT",0
_901:
	db	"sprTypeMXS",0
_903:
	db	"sprTypeLast",0
_904:
	db	"sprTypeFrame",0
	align	4
_881:
	dd	2
	dd	_882
	dd	1
	dd	_883
	dd	_805
	dd	_884
	dd	1
	dd	_885
	dd	_805
	dd	_886
	dd	1
	dd	_887
	dd	_805
	dd	_806
	dd	1
	dd	_888
	dd	_805
	dd	_808
	dd	1
	dd	_889
	dd	_805
	dd	_890
	dd	1
	dd	_891
	dd	_805
	dd	_892
	dd	1
	dd	_893
	dd	_805
	dd	_894
	dd	1
	dd	_895
	dd	_805
	dd	_810
	dd	1
	dd	_896
	dd	_805
	dd	_897
	dd	1
	dd	_898
	dd	_805
	dd	_899
	dd	1
	dd	_900
	dd	_805
	dd	_899
	dd	1
	dd	_901
	dd	_805
	dd	_902
	dd	1
	dd	_903
	dd	_805
	dd	_902
	dd	1
	dd	_904
	dd	_805
	dd	_905
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_SpriteType:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_881
	dd	8
	dd	__bb_SpriteType_New
	dd	__bb_SpriteType_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_907:
	db	"RGBP",0
_908:
	db	"r",0
_909:
	db	"b",0
_910:
	db	"g",0
	align	4
_906:
	dd	2
	dd	_907
	dd	3
	dd	_908
	dd	_805
	dd	8
	dd	3
	dd	_909
	dd	_805
	dd	12
	dd	3
	dd	_910
	dd	_805
	dd	16
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_RGBP:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_906
	dd	20
	dd	__bb_RGBP_New
	dd	__bb_RGBP_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_912:
	db	"Palette256",0
_913:
	db	"loaded",0
_914:
	db	"col",0
_916:
	db	"refcount",0
	align	4
_911:
	dd	2
	dd	_912
	dd	3
	dd	_913
	dd	_909
	dd	8
	dd	3
	dd	_914
	dd	_915
	dd	12
	dd	3
	dd	_916
	dd	_805
	dd	16
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_Palette256:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_911
	dd	20
	dd	__bb_Palette256_New
	dd	__bb_Palette256_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_918:
	db	"XYPair",0
_919:
	db	"x",0
_920:
	db	"y",0
_921:
	db	"w",0
_922:
	db	"h",0
_923:
	db	"n",0
	align	4
_917:
	dd	2
	dd	_918
	dd	3
	dd	_919
	dd	_805
	dd	8
	dd	3
	dd	_920
	dd	_805
	dd	12
	dd	3
	dd	_921
	dd	_805
	dd	16
	dd	3
	dd	_922
	dd	_805
	dd	20
	dd	3
	dd	_923
	dd	_805
	dd	24
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_XYPair:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_917
	dd	28
	dd	__bb_XYPair_New
	dd	__bb_XYPair_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_925:
	db	"NPCType",0
_926:
	db	"picture",0
_927:
	db	"palette",0
_928:
	db	"movetype",0
_929:
	db	"speed",0
_930:
	db	"textbox",0
_931:
	db	"facetype",0
_932:
	db	"item",0
_933:
	db	"pushtype",0
_934:
	db	"activation",0
_935:
	db	"tag1",0
_936:
	db	"tag2",0
_937:
	db	"usetag",0
_938:
	db	"script",0
_939:
	db	"scriptarg",0
_940:
	db	"vehicle",0
_941:
	db	"defaultzone",0
_942:
	db	"defaultwallzone",0
_943:
	db	"sprite",0
_944:
	db	":Frame",0
_945:
	db	"pal",0
_946:
	db	":Palette256",0
_947:
	db	"valdata",0
	align	4
_924:
	dd	2
	dd	_925
	dd	3
	dd	_926
	dd	_805
	dd	8
	dd	3
	dd	_927
	dd	_805
	dd	12
	dd	3
	dd	_928
	dd	_805
	dd	16
	dd	3
	dd	_929
	dd	_805
	dd	20
	dd	3
	dd	_930
	dd	_805
	dd	24
	dd	3
	dd	_931
	dd	_805
	dd	28
	dd	3
	dd	_932
	dd	_805
	dd	32
	dd	3
	dd	_933
	dd	_805
	dd	36
	dd	3
	dd	_934
	dd	_805
	dd	40
	dd	3
	dd	_935
	dd	_805
	dd	44
	dd	3
	dd	_936
	dd	_805
	dd	48
	dd	3
	dd	_937
	dd	_805
	dd	52
	dd	3
	dd	_938
	dd	_805
	dd	56
	dd	3
	dd	_939
	dd	_805
	dd	60
	dd	3
	dd	_940
	dd	_805
	dd	64
	dd	3
	dd	_941
	dd	_805
	dd	68
	dd	3
	dd	_942
	dd	_805
	dd	72
	dd	3
	dd	_943
	dd	_944
	dd	76
	dd	3
	dd	_945
	dd	_946
	dd	80
	dd	3
	dd	_947
	dd	_915
	dd	84
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_NPCType:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_924
	dd	88
	dd	__bb_NPCType_New
	dd	__bb_NPCType_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_949:
	db	"NPCInst",0
_950:
	db	"sl",0
_951:
	db	"id",0
_952:
	db	"xgo",0
_953:
	db	"ygo",0
_954:
	db	"dir",0
_955:
	db	"frame",0
_956:
	db	"extra",0
_957:
	db	"ignore_walls",0
_958:
	db	"not_obstruction",0
_959:
	db	"suspend_use",0
_960:
	db	"suspend_ai",0
_961:
	db	"curzones",0
	align	4
_948:
	dd	2
	dd	_949
	dd	3
	dd	_950
	dd	_805
	dd	8
	dd	3
	dd	_919
	dd	_805
	dd	12
	dd	3
	dd	_920
	dd	_805
	dd	16
	dd	3
	dd	_951
	dd	_805
	dd	20
	dd	3
	dd	_952
	dd	_805
	dd	24
	dd	3
	dd	_953
	dd	_805
	dd	28
	dd	3
	dd	_954
	dd	_805
	dd	32
	dd	3
	dd	_955
	dd	_805
	dd	36
	dd	3
	dd	_956
	dd	_915
	dd	40
	dd	3
	dd	_957
	dd	_805
	dd	44
	dd	3
	dd	_958
	dd	_805
	dd	48
	dd	3
	dd	_959
	dd	_805
	dd	52
	dd	3
	dd	_960
	dd	_805
	dd	56
	dd	3
	dd	_961
	dd	_805
	dd	60
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_NPCInst:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_948
	dd	64
	dd	__bb_NPCInst_New
	dd	__bb_NPCInst_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_963:
	db	"MapeditState",0
_964:
	db	"gmap",0
_965:
	db	"doors",0
_966:
	db	"[]:Door",0
_967:
	db	"npc_inst",0
_968:
	db	"[]:NPCInst",0
_969:
	db	"npc_def",0
_970:
	db	"[]:NPCType",0
_971:
	db	"numdoors",0
_972:
	db	"numlinks",0
_973:
	db	"numnpcs",0
_974:
	db	"link",0
_975:
	db	"[]:DoorLink",0
_976:
	db	"map",0
_977:
	db	"[]:TileMap",0
_978:
	db	"pass",0
_979:
	db	"emap",0
_980:
	db	"zmap",0
_981:
	db	"[]:ZoneMap",0
_982:
	db	"tilesets",0
_983:
	db	"mapname",0
_984:
	db	"wide",0
_985:
	db	"high",0
_986:
	db	"Loadmap",0
_987:
	db	"LoadNPCD",0
_988:
	db	"($,i,i)i",0
_989:
	db	"SetNPCD",0
_990:
	db	"(:NPCType,i,i)i",0
_991:
	db	"LoadNPCL",0
_992:
	db	"($)i",0
_993:
	db	"DeSerDoors",0
_994:
	db	"($,[]:Door,i)i",0
_995:
	db	"DeserDoorLinks",0
_996:
	db	"($,[]:DoorLink)i",0
_997:
	db	"layer_tileset_index",0
_998:
	db	"loadmaptilesets",0
_999:
	db	"getmapname",0
_1000:
	db	"(i)$",0
_1001:
	db	"LoadTilemap",0
_1002:
	db	"($)[]:Tilemap",0
	align	4
_962:
	dd	2
	dd	_963
	dd	3
	dd	_964
	dd	_915
	dd	8
	dd	3
	dd	_965
	dd	_966
	dd	12
	dd	3
	dd	_967
	dd	_968
	dd	16
	dd	3
	dd	_969
	dd	_970
	dd	20
	dd	3
	dd	_971
	dd	_805
	dd	24
	dd	3
	dd	_972
	dd	_805
	dd	28
	dd	3
	dd	_973
	dd	_805
	dd	32
	dd	3
	dd	_974
	dd	_975
	dd	36
	dd	3
	dd	_976
	dd	_977
	dd	40
	dd	3
	dd	_978
	dd	_977
	dd	44
	dd	3
	dd	_979
	dd	_977
	dd	48
	dd	3
	dd	_980
	dd	_981
	dd	52
	dd	3
	dd	_982
	dd	_915
	dd	56
	dd	3
	dd	_983
	dd	_819
	dd	60
	dd	3
	dd	_984
	dd	_805
	dd	64
	dd	3
	dd	_985
	dd	_805
	dd	68
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_986
	dd	_849
	dd	48
	dd	6
	dd	_987
	dd	_988
	dd	52
	dd	7
	dd	_989
	dd	_990
	dd	56
	dd	6
	dd	_991
	dd	_992
	dd	60
	dd	6
	dd	_993
	dd	_994
	dd	64
	dd	6
	dd	_995
	dd	_996
	dd	68
	dd	7
	dd	_997
	dd	_849
	dd	72
	dd	6
	dd	_998
	dd	_812
	dd	76
	dd	7
	dd	_999
	dd	_1000
	dd	80
	dd	7
	dd	_1001
	dd	_1002
	dd	84
	dd	0
	align	4
_bb_MapeditState:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_962
	dd	72
	dd	__bb_MapeditState_New
	dd	__bb_MapeditState_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_MapeditState_Loadmap
	dd	__bb_MapeditState_LoadNPCD
	dd	__bb_MapeditState_SetNPCD
	dd	__bb_MapeditState_LoadNPCL
	dd	__bb_MapeditState_DeSerDoors
	dd	__bb_MapeditState_DeserDoorLinks
	dd	__bb_MapeditState_layer_tileset_index
	dd	__bb_MapeditState_loadmaptilesets
	dd	__bb_MapeditState_getmapname
	dd	__bb_MapeditState_LoadTilemap
_1004:
	db	"TileMap",0
_1005:
	db	"data",0
_1006:
	db	"layernum",0
	align	4
_1003:
	dd	2
	dd	_1004
	dd	3
	dd	_984
	dd	_805
	dd	8
	dd	3
	dd	_985
	dd	_805
	dd	12
	dd	3
	dd	_1005
	dd	_915
	dd	16
	dd	3
	dd	_1006
	dd	_805
	dd	20
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_TileMap:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1003
	dd	24
	dd	__bb_TileMap_New
	dd	__bb_TileMap_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1008:
	db	"ZoneMap",0
_1009:
	db	"numzones",0
_1010:
	db	"zones",0
_1011:
	db	":ZoneInfo",0
_1012:
	db	"wide_segments",0
_1013:
	db	"high_segments",0
_1014:
	db	"bitmap",0
_1015:
	db	":brl.max2d.TImage",0
_1016:
	db	"zoneIDmap",0
_1017:
	db	"s",0
	align	4
_1007:
	dd	2
	dd	_1008
	dd	3
	dd	_1009
	dd	_805
	dd	8
	dd	3
	dd	_1010
	dd	_1011
	dd	12
	dd	3
	dd	_984
	dd	_805
	dd	16
	dd	3
	dd	_985
	dd	_805
	dd	20
	dd	3
	dd	_1012
	dd	_805
	dd	24
	dd	3
	dd	_1013
	dd	_805
	dd	28
	dd	3
	dd	_1014
	dd	_1015
	dd	32
	dd	3
	dd	_1016
	dd	_1017
	dd	36
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_ZoneMap:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1007
	dd	38
	dd	__bb_ZoneMap_New
	dd	__bb_ZoneMap_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1019:
	db	"ZoneInfo",0
_1020:
	db	"name",0
_1021:
	db	"hidden",0
_1022:
	db	"numtiles",0
	align	4
_1018:
	dd	2
	dd	_1019
	dd	3
	dd	_951
	dd	_805
	dd	8
	dd	3
	dd	_1020
	dd	_819
	dd	12
	dd	3
	dd	_1021
	dd	_805
	dd	16
	dd	3
	dd	_1022
	dd	_805
	dd	20
	dd	3
	dd	_956
	dd	_915
	dd	24
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_ZoneInfo:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1018
	dd	28
	dd	__bb_ZoneInfo_New
	dd	__bb_ZoneInfo_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1024:
	db	"Door",0
_1025:
	db	"bits",0
	align	4
_1023:
	dd	2
	dd	_1024
	dd	3
	dd	_919
	dd	_805
	dd	8
	dd	3
	dd	_920
	dd	_805
	dd	12
	dd	3
	dd	_1025
	dd	_915
	dd	16
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_Door:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1023
	dd	20
	dd	__bb_Door_New
	dd	__bb_Door_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1027:
	db	"DoorLink",0
_1028:
	db	"source",0
_1029:
	db	"dest",0
_1030:
	db	"dest_map",0
	align	4
_1026:
	dd	2
	dd	_1027
	dd	3
	dd	_1028
	dd	_805
	dd	8
	dd	3
	dd	_1029
	dd	_805
	dd	12
	dd	3
	dd	_1030
	dd	_805
	dd	16
	dd	3
	dd	_935
	dd	_805
	dd	20
	dd	3
	dd	_936
	dd	_805
	dd	24
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_DoorLink:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1026
	dd	28
	dd	__bb_DoorLink_New
	dd	__bb_DoorLink_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1032:
	db	"MouseInfo",0
_1033:
	db	"clicks",0
_1034:
	db	"buttons",0
_1035:
	db	"wheel",0
_1036:
	db	"dragging",0
_1037:
	db	"clickstart",0
_1038:
	db	":XYPair",0
	align	4
_1031:
	dd	2
	dd	_1032
	dd	3
	dd	_919
	dd	_805
	dd	8
	dd	3
	dd	_920
	dd	_805
	dd	12
	dd	3
	dd	_1033
	dd	_805
	dd	16
	dd	3
	dd	_1034
	dd	_805
	dd	20
	dd	3
	dd	_1035
	dd	_805
	dd	24
	dd	3
	dd	_1036
	dd	_805
	dd	28
	dd	3
	dd	_1037
	dd	_1038
	dd	32
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_MouseInfo:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1031
	dd	36
	dd	__bb_MouseInfo_New
	dd	__bb_MouseInfo_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1040:
	db	"SpriteState",0
_1041:
	db	"sets",0
_1042:
	db	"[]:SpriteSet",0
_1043:
	db	"curframe",0
_1044:
	db	"frame_id",0
_1045:
	db	"numsets",0
_1046:
	db	"anim_step",0
_1047:
	db	"anim_wait",0
_1048:
	db	"anim_loop",0
_1049:
	db	"zone",0
_1050:
	db	"previewpos",0
_1051:
	db	"hold",0
_1052:
	db	"perset",0
_1053:
	db	"size",0
_1054:
	db	"setsize",0
_1055:
	db	"zoom",0
_1056:
	db	"at_a_time",0
_1057:
	db	"fileset",0
_1058:
	db	"spritefile",0
_1059:
	db	"framenum",0
_1060:
	db	"fullset",0
_1061:
	db	"didscroll",0
_1062:
	db	"drawcursor",0
_1063:
	db	"tool",0
_1064:
	db	"airsize",0
_1065:
	db	"mist",0
_1066:
	db	"palindex",0
_1067:
	db	"pt",0
_1068:
	db	"top",0
_1069:
	db	"placer",0
_1070:
	db	"workpal",0
_1071:
	db	"soff",0
_1072:
	db	"poffset",0
_1073:
	db	"CreateState",0
_1074:
	db	"(i,i,i,i,i,i,i,i,i,i)i",0
_1075:
	db	"spriteedit_load_all_you_see",0
_1076:
	db	"spriteedit_load_what_you_see",0
	align	4
_1039:
	dd	2
	dd	_1040
	dd	3
	dd	_1041
	dd	_1042
	dd	8
	dd	3
	dd	_1043
	dd	_944
	dd	12
	dd	3
	dd	_945
	dd	_946
	dd	16
	dd	3
	dd	_1044
	dd	_805
	dd	20
	dd	3
	dd	_1045
	dd	_805
	dd	24
	dd	3
	dd	_1046
	dd	_805
	dd	28
	dd	3
	dd	_1047
	dd	_805
	dd	32
	dd	3
	dd	_1048
	dd	_805
	dd	36
	dd	3
	dd	_828
	dd	_1038
	dd	40
	dd	3
	dd	_1049
	dd	_1038
	dd	44
	dd	3
	dd	_1050
	dd	_1038
	dd	48
	dd	3
	dd	_1051
	dd	_805
	dd	52
	dd	3
	dd	_919
	dd	_805
	dd	56
	dd	3
	dd	_920
	dd	_805
	dd	60
	dd	3
	dd	_984
	dd	_805
	dd	64
	dd	3
	dd	_985
	dd	_805
	dd	68
	dd	3
	dd	_1052
	dd	_805
	dd	72
	dd	3
	dd	_1053
	dd	_805
	dd	76
	dd	3
	dd	_1054
	dd	_805
	dd	80
	dd	3
	dd	_1055
	dd	_805
	dd	84
	dd	3
	dd	_1056
	dd	_805
	dd	88
	dd	3
	dd	_1057
	dd	_805
	dd	92
	dd	3
	dd	_1058
	dd	_819
	dd	96
	dd	3
	dd	_1059
	dd	_805
	dd	100
	dd	3
	dd	_1060
	dd	_805
	dd	104
	dd	3
	dd	_1061
	dd	_805
	dd	108
	dd	3
	dd	_1062
	dd	_805
	dd	112
	dd	3
	dd	_1063
	dd	_805
	dd	116
	dd	3
	dd	_1064
	dd	_805
	dd	120
	dd	3
	dd	_1065
	dd	_805
	dd	124
	dd	3
	dd	_1066
	dd	_805
	dd	128
	dd	3
	dd	_1067
	dd	_805
	dd	132
	dd	3
	dd	_1068
	dd	_805
	dd	136
	dd	3
	dd	_1069
	dd	_915
	dd	140
	dd	3
	dd	_1070
	dd	_915
	dd	144
	dd	3
	dd	_1071
	dd	_805
	dd	148
	dd	3
	dd	_1072
	dd	_915
	dd	152
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1073
	dd	_1074
	dd	48
	dd	6
	dd	_1075
	dd	_812
	dd	52
	dd	6
	dd	_1076
	dd	_849
	dd	56
	dd	0
	align	4
_bb_SpriteState:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1039
	dd	156
	dd	__bb_SpriteState_New
	dd	__bb_SpriteState_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_SpriteState_CreateState
	dd	__bb_SpriteState_spriteedit_load_all_you_see
	dd	__bb_SpriteState_spriteedit_load_what_you_see
_1078:
	db	"Frame",0
_1079:
	db	"pitch",0
_1080:
	db	":brl.pixmap.TPixmap",0
_1081:
	db	"image",0
_1082:
	db	"mask",0
_1083:
	db	"palmap",0
_1084:
	db	"[,]i",0
_1085:
	db	"arraylen",0
_1086:
	db	"cached",0
_1087:
	db	"arrayelem",0
_1088:
	db	"isview",0
_1089:
	db	"initframe_bysize",0
_1090:
	db	"initframe",0
	align	4
_1077:
	dd	2
	dd	_1078
	dd	3
	dd	_921
	dd	_805
	dd	8
	dd	3
	dd	_922
	dd	_805
	dd	12
	dd	3
	dd	_1079
	dd	_805
	dd	16
	dd	3
	dd	_943
	dd	_1080
	dd	20
	dd	3
	dd	_1081
	dd	_1015
	dd	24
	dd	3
	dd	_1082
	dd	_915
	dd	28
	dd	3
	dd	_1083
	dd	_1084
	dd	32
	dd	3
	dd	_916
	dd	_805
	dd	36
	dd	3
	dd	_1085
	dd	_805
	dd	40
	dd	3
	dd	_870
	dd	_1015
	dd	44
	dd	3
	dd	_1086
	dd	_805
	dd	48
	dd	3
	dd	_1087
	dd	_805
	dd	52
	dd	3
	dd	_1088
	dd	_805
	dd	56
	dd	3
	dd	_828
	dd	_1038
	dd	60
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1089
	dd	_856
	dd	48
	dd	6
	dd	_1090
	dd	_849
	dd	52
	dd	0
	align	4
_bb_Frame:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1077
	dd	64
	dd	__bb_Frame_New
	dd	__bb_Frame_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Frame_initframe_bysize
	dd	__bb_Frame_initframe
_1092:
	db	"SpriteSet",0
_1093:
	db	"numanimations",0
_1094:
	db	"numframes",0
_1095:
	db	"frames",0
_1096:
	db	"[]:Frame",0
_1097:
	db	"defpal",0
_1098:
	db	"Init",0
_1099:
	db	"InitEmpty",0
_1100:
	db	"frame_load",0
_1101:
	db	"($,i,i,i,i,i,i):Frame",0
_1102:
	db	"FrameFromBuffer",0
_1103:
	db	"([]i,i):Frame",0
_1104:
	db	"LoadSprites",0
_1105:
	db	"([]i,:brl.pixmap.TPixmap,i,i,i,i,i)[]i",0
	align	4
_1091:
	dd	2
	dd	_1092
	dd	3
	dd	_1093
	dd	_805
	dd	8
	dd	3
	dd	_1094
	dd	_805
	dd	12
	dd	3
	dd	_1095
	dd	_1096
	dd	16
	dd	3
	dd	_1097
	dd	_805
	dd	20
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1098
	dd	_856
	dd	48
	dd	6
	dd	_1099
	dd	_849
	dd	52
	dd	7
	dd	_1100
	dd	_1101
	dd	56
	dd	6
	dd	_1102
	dd	_1103
	dd	60
	dd	6
	dd	_1104
	dd	_1105
	dd	64
	dd	0
	align	4
_bb_SpriteSet:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1091
	dd	24
	dd	__bb_SpriteSet_New
	dd	__bb_SpriteSet_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_SpriteSet_Init
	dd	__bb_SpriteSet_InitEmpty
	dd	__bb_SpriteSet_frame_load
	dd	__bb_SpriteSet_FrameFromBuffer
	dd	__bb_SpriteSet_LoadSprites
_1107:
	db	"TileAnimState",0
_1108:
	db	"cycle",0
_1109:
	db	"skip",0
	align	4
_1106:
	dd	2
	dd	_1107
	dd	3
	dd	_1108
	dd	_805
	dd	8
	dd	3
	dd	_1067
	dd	_805
	dd	12
	dd	3
	dd	_1109
	dd	_805
	dd	16
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	0
	align	4
_bb_TileAnimState:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1106
	dd	20
	dd	__bb_TileAnimState_New
	dd	__bb_TileAnimState_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_1111:
	db	"TilesetData",0
_1112:
	db	"tilesetfile",0
_1113:
	db	"num",0
_1114:
	db	"spr",0
_1115:
	db	"anim",0
_1116:
	db	"[]:TileAnimState",0
_1117:
	db	"tastuf",0
_1118:
	db	"LoadTileset",0
	align	4
_1110:
	dd	2
	dd	_1111
	dd	3
	dd	_1112
	dd	_819
	dd	8
	dd	3
	dd	_1113
	dd	_805
	dd	12
	dd	3
	dd	_1114
	dd	_944
	dd	16
	dd	3
	dd	_1115
	dd	_1116
	dd	20
	dd	3
	dd	_1117
	dd	_915
	dd	24
	dd	3
	dd	_984
	dd	_805
	dd	28
	dd	3
	dd	_985
	dd	_805
	dd	32
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1118
	dd	_849
	dd	48
	dd	0
	align	4
_bb_TilesetData:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1110
	dd	36
	dd	__bb_TilesetData_New
	dd	__bb_TilesetData_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TilesetData_LoadTileset
_1120:
	db	"TilsetState",0
_1121:
	db	"Tileset",0
_1122:
	db	"[]:TilesetData",0
_1123:
	db	"Loadsets",0
	align	4
_1119:
	dd	2
	dd	_1120
	dd	3
	dd	_1121
	dd	_1122
	dd	8
	dd	3
	dd	_1045
	dd	_805
	dd	12
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1123
	dd	_812
	dd	48
	dd	0
	align	4
_bb_TilsetState:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1119
	dd	16
	dd	__bb_TilsetState_New
	dd	__bb_TilsetState_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TilsetState_Loadsets
_1125:
	db	"SoundState",0
_1126:
	db	"Ssounds",0
_1127:
	db	"[]:TSFX",0
	align	4
_1124:
	dd	2
	dd	_1125
	dd	3
	dd	_1126
	dd	_1127
	dd	8
	dd	3
	dd	_1045
	dd	_805
	dd	12
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1073
	dd	_812
	dd	48
	dd	0
	align	4
_bb_SoundState:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1124
	dd	16
	dd	__bb_SoundState_New
	dd	__bb_SoundState_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_SoundState_CreateState
_1129:
	db	"TSFX",0
_1130:
	db	"soundfile",0
_1131:
	db	"soundnum",0
_1132:
	db	"soundname",0
_1133:
	db	"LoadSoundFX",0
	align	4
_1128:
	dd	2
	dd	_1129
	dd	3
	dd	_1130
	dd	_819
	dd	8
	dd	3
	dd	_1131
	dd	_805
	dd	12
	dd	3
	dd	_1132
	dd	_819
	dd	16
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1133
	dd	_849
	dd	48
	dd	0
	align	4
_bb_TSFX:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1128
	dd	20
	dd	__bb_TSFX_New
	dd	__bb_TSFX_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TSFX_LoadSoundFX
_1135:
	db	"TSong",0
_1136:
	db	"songfile",0
_1137:
	db	"songnum",0
_1138:
	db	"songname",0
_1139:
	db	"LoadSong",0
_1140:
	db	"getsongname",0
	align	4
_1134:
	dd	2
	dd	_1135
	dd	3
	dd	_1136
	dd	_819
	dd	8
	dd	3
	dd	_1137
	dd	_805
	dd	12
	dd	3
	dd	_1138
	dd	_819
	dd	16
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1139
	dd	_849
	dd	48
	dd	6
	dd	_1140
	dd	_1000
	dd	52
	dd	0
	align	4
_bb_TSong:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1134
	dd	20
	dd	__bb_TSong_New
	dd	__bb_TSong_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TSong_LoadSong
	dd	__bb_TSong_getsongname
_1142:
	db	"SongState",0
_1143:
	db	"Ssongs",0
_1144:
	db	"[]:TSong",0
	align	4
_1141:
	dd	2
	dd	_1142
	dd	3
	dd	_1143
	dd	_1144
	dd	8
	dd	3
	dd	_1045
	dd	_805
	dd	12
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1073
	dd	_812
	dd	48
	dd	0
	align	4
_bb_SongState:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1141
	dd	16
	dd	__bb_SongState_New
	dd	__bb_SongState_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_SongState_CreateState
_1146:
	db	"BackdropState",0
_1147:
	db	"Backdrop",0
_1148:
	db	"[]:BackdropData",0
	align	4
_1145:
	dd	2
	dd	_1146
	dd	3
	dd	_1147
	dd	_1148
	dd	8
	dd	3
	dd	_1045
	dd	_805
	dd	12
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1123
	dd	_812
	dd	48
	dd	0
	align	4
_bb_BackdropState:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1145
	dd	16
	dd	__bb_BackdropState_New
	dd	__bb_BackdropState_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_BackdropState_Loadsets
_1150:
	db	"BackdropData",0
_1151:
	db	"backdropfile",0
_1152:
	db	"LoadBackdrop",0
	align	4
_1149:
	dd	2
	dd	_1150
	dd	3
	dd	_1151
	dd	_819
	dd	8
	dd	3
	dd	_1113
	dd	_805
	dd	12
	dd	3
	dd	_1114
	dd	_944
	dd	16
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1152
	dd	_849
	dd	48
	dd	0
	align	4
_bb_BackdropData:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1149
	dd	20
	dd	__bb_BackdropData_New
	dd	__bb_BackdropData_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_BackdropData_LoadBackdrop
_1154:
	db	"EditorWindow",0
_1155:
	db	"mainwin",0
_1156:
	db	":maxgui.maxgui.TGadget",0
_1157:
	db	"canvas",0
_1158:
	db	"canvastimer",0
_1159:
	db	":brl.timer.TTimer",0
_1160:
	db	"children",0
_1161:
	db	"gadget_children",0
_1162:
	db	"parent",0
_1163:
	db	":EditorWindow",0
_1164:
	db	"Update",0
_1165:
	db	"UpdateUI",0
_1166:
	db	"UpdateCanvas",0
	align	4
_1153:
	dd	2
	dd	_1154
	dd	3
	dd	_1155
	dd	_1156
	dd	8
	dd	3
	dd	_1157
	dd	_1156
	dd	12
	dd	3
	dd	_1158
	dd	_1159
	dd	16
	dd	3
	dd	_1160
	dd	_824
	dd	20
	dd	3
	dd	_1161
	dd	_824
	dd	24
	dd	3
	dd	_1162
	dd	_1163
	dd	28
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1164
	dd	_849
	dd	48
	dd	6
	dd	_1165
	dd	_849
	dd	52
	dd	6
	dd	_1166
	dd	_812
	dd	56
	dd	0
	align	4
_bb_EditorWindow:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1153
	dd	32
	dd	__bb_EditorWindow_New
	dd	__bb_EditorWindow_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_EditorWindow_Update
	dd	__bb_EditorWindow_UpdateUI
	dd	__bb_EditorWindow_UpdateCanvas
_1168:
	db	"MainEditor",0
_1169:
	db	"MENU_NEW",0
_1171:
	db	"MENU_OPEN",0
_1173:
	db	"MENU_SAVE",0
_1175:
	db	"MENU_IMPORT",0
	align	4
_1176:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	57,48,49
_1177:
	db	"MENU_CLOSE",0
_1179:
	db	"MENU_EXIT",0
_1181:
	db	"MENU_GFX",0
_1183:
	db	"MENU_COPY",0
	align	4
_1184:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,55
_1185:
	db	"MENU_WALKABOUT",0
	align	4
_1186:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,56
_1187:
	db	"MENU_HERO",0
	align	4
_1188:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,57
_1189:
	db	"MENU_ABOUT",0
	align	4
_1190:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,48,57
_1191:
	db	"MENU_SM_ENEMY",0
	align	4
_1192:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,49,48
_1193:
	db	"MENU_MD_ENEMY",0
	align	4
_1194:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,49,49
_1195:
	db	"MENU_LG_ENEMY",0
	align	4
_1196:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,49,50
_1197:
	db	"MENU_ATTACKS",0
	align	4
_1198:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,49,51
_1199:
	db	"MENU_WEAPONS",0
	align	4
_1200:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,49,52
_1201:
	db	"MENU_BOXES",0
	align	4
_1202:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,49,53
_1203:
	db	"MENU_PORTRAIT",0
	align	4
_1204:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,49,54
_1205:
	db	"MENU_TILESET",0
	align	4
_1206:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,49,55
_1207:
	db	"MENU_EXPORT_XML",0
	align	4
_1208:
	dd	_bbStringClass
	dd	2147483646
	dd	4
	dw	49,48,48,48
_1209:
	db	"MENU_EXPORT_HTML5",0
	align	4
_1210:
	dd	_bbStringClass
	dd	2147483646
	dd	4
	dw	49,48,48,49
_1211:
	db	"MENU_EXPORT_FLASH",0
	align	4
_1212:
	dd	_bbStringClass
	dd	2147483646
	dd	4
	dw	49,48,48,50
_1213:
	db	"filemenu",0
_1214:
	db	"editmenu",0
_1215:
	db	"helpmenu",0
_1216:
	db	"RPGFile",0
_1217:
	db	"RPGUnlumped",0
_1218:
	db	"Setup",0
	align	4
_1167:
	dd	2
	dd	_1168
	dd	1
	dd	_1169
	dd	_805
	dd	_1170
	dd	1
	dd	_1171
	dd	_805
	dd	_1172
	dd	1
	dd	_1173
	dd	_805
	dd	_1174
	dd	1
	dd	_1175
	dd	_805
	dd	_1176
	dd	1
	dd	_1177
	dd	_805
	dd	_1178
	dd	1
	dd	_1179
	dd	_805
	dd	_1180
	dd	1
	dd	_1181
	dd	_805
	dd	_1182
	dd	1
	dd	_1183
	dd	_805
	dd	_1184
	dd	1
	dd	_1185
	dd	_805
	dd	_1186
	dd	1
	dd	_1187
	dd	_805
	dd	_1188
	dd	1
	dd	_1189
	dd	_805
	dd	_1190
	dd	1
	dd	_1191
	dd	_805
	dd	_1192
	dd	1
	dd	_1193
	dd	_805
	dd	_1194
	dd	1
	dd	_1195
	dd	_805
	dd	_1196
	dd	1
	dd	_1197
	dd	_805
	dd	_1198
	dd	1
	dd	_1199
	dd	_805
	dd	_1200
	dd	1
	dd	_1201
	dd	_805
	dd	_1202
	dd	1
	dd	_1203
	dd	_805
	dd	_1204
	dd	1
	dd	_1205
	dd	_805
	dd	_1206
	dd	1
	dd	_1207
	dd	_805
	dd	_1208
	dd	1
	dd	_1209
	dd	_805
	dd	_1210
	dd	1
	dd	_1211
	dd	_805
	dd	_1212
	dd	3
	dd	_1213
	dd	_1156
	dd	32
	dd	3
	dd	_1214
	dd	_1156
	dd	36
	dd	3
	dd	_1215
	dd	_1156
	dd	40
	dd	3
	dd	_1216
	dd	_819
	dd	44
	dd	3
	dd	_1217
	dd	_909
	dd	48
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1165
	dd	_849
	dd	52
	dd	6
	dd	_1218
	dd	_812
	dd	60
	dd	0
	align	4
_bb_MainEditor:
	dd	_bb_EditorWindow
	dd	_bbObjectFree
	dd	_1167
	dd	49
	dd	__bb_MainEditor_New
	dd	__bb_MainEditor_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_EditorWindow_Update
	dd	__bb_MainEditor_UpdateUI
	dd	__bb_EditorWindow_UpdateCanvas
	dd	__bb_MainEditor_Setup
_1220:
	db	"SpriteSelector",0
_1221:
	db	"sstate",0
_1223:
	db	"captions",0
_1224:
	db	"[]$",0
_1225:
	db	"wintitle",0
_1226:
	db	"setspanel",0
_1227:
	db	"spritew",0
_1228:
	db	"spriteh",0
_1229:
	db	"scroller",0
_1230:
	db	"(i,[]$,:EditorWindow)i",0
	align	4
_1219:
	dd	2
	dd	_1220
	dd	3
	dd	_1221
	dd	_1222
	dd	32
	dd	3
	dd	_1223
	dd	_1224
	dd	36
	dd	3
	dd	_1225
	dd	_819
	dd	40
	dd	3
	dd	_1226
	dd	_1156
	dd	44
	dd	3
	dd	_1227
	dd	_805
	dd	48
	dd	3
	dd	_1228
	dd	_805
	dd	52
	dd	3
	dd	_1055
	dd	_805
	dd	56
	dd	3
	dd	_1229
	dd	_1156
	dd	60
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1218
	dd	_1230
	dd	60
	dd	6
	dd	_1165
	dd	_849
	dd	52
	dd	0
	align	4
_bb_SpriteSelector:
	dd	_bb_EditorWindow
	dd	_bbObjectFree
	dd	_1219
	dd	64
	dd	__bb_SpriteSelector_New
	dd	__bb_SpriteSelector_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_EditorWindow_Update
	dd	__bb_SpriteSelector_UpdateUI
	dd	__bb_EditorWindow_UpdateCanvas
	dd	__bb_SpriteSelector_Setup
_1232:
	db	"MaptilesSelector",0
_1234:
	db	"(:EditorWindow)i",0
	align	4
_1231:
	dd	2
	dd	_1232
	dd	3
	dd	_1226
	dd	_1156
	dd	32
	dd	3
	dd	_1041
	dd	_1233
	dd	36
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1218
	dd	_1234
	dd	60
	dd	0
	align	4
_bb_MaptilesSelector:
	dd	_bb_EditorWindow
	dd	_bbObjectFree
	dd	_1231
	dd	40
	dd	__bb_MaptilesSelector_New
	dd	__bb_MaptilesSelector_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_EditorWindow_Update
	dd	__bb_EditorWindow_UpdateUI
	dd	__bb_EditorWindow_UpdateCanvas
	dd	__bb_MaptilesSelector_Setup
_1236:
	db	"SpriteEditor",0
_1237:
	db	"set",0
_1238:
	db	"palettepix",0
_1239:
	db	"toolbar",0
_1240:
	db	"(:SpriteState,i,i,:EditorWindow)i",0
	align	4
_1235:
	dd	2
	dd	_1236
	dd	3
	dd	_1221
	dd	_1222
	dd	32
	dd	3
	dd	_1237
	dd	_805
	dd	36
	dd	3
	dd	_955
	dd	_805
	dd	40
	dd	3
	dd	_927
	dd	_1156
	dd	44
	dd	3
	dd	_1238
	dd	_1080
	dd	48
	dd	3
	dd	_1239
	dd	_1156
	dd	52
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1218
	dd	_1240
	dd	60
	dd	6
	dd	_1165
	dd	_849
	dd	52
	dd	6
	dd	_1166
	dd	_812
	dd	56
	dd	0
	align	4
_bb_SpriteEditor:
	dd	_bb_EditorWindow
	dd	_bbObjectFree
	dd	_1235
	dd	56
	dd	__bb_SpriteEditor_New
	dd	__bb_SpriteEditor_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_EditorWindow_Update
	dd	__bb_SpriteEditor_UpdateUI
	dd	__bb_SpriteEditor_UpdateCanvas
	dd	__bb_SpriteEditor_Setup
_1242:
	db	"RPGXML",0
_1243:
	db	"CreateXML",0
_1244:
	db	"($,:maxgui.maxgui.TGadget)i",0
	align	4
_1241:
	dd	2
	dd	_1242
	dd	6
	dd	_811
	dd	_812
	dd	16
	dd	6
	dd	_813
	dd	_812
	dd	20
	dd	6
	dd	_1243
	dd	_1244
	dd	48
	dd	0
	align	4
_bb_RPGXML:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_1241
	dd	8
	dd	__bb_RPGXML_New
	dd	__bb_RPGXML_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_RPGXML_CreateXML
_1796:
	db	"C:/Monkey/projects/Hamster-Monkey/ohrrpgce2/GUI-CUSTOM/includes/globals.bmx",0
	align	4
_1795:
	dd	_1796
	dd	2
	dd	1
	align	4
_1797:
	dd	_1796
	dd	3
	dd	1
	align	4
_1798:
	dd	_1796
	dd	4
	dd	1
	align	4
_1799:
	dd	_1796
	dd	5
	dd	1
	align	4
_1800:
	dd	_1796
	dd	155
	dd	1
	align	4
_1801:
	dd	_1796
	dd	156
	dd	1
	align	4
_1802:
	dd	_1796
	dd	157
	dd	1
	align	4
_1803:
	dd	_1796
	dd	158
	dd	1
	align	4
_1804:
	dd	_1796
	dd	159
	dd	1
	align	4
_1805:
	dd	_1796
	dd	160
	dd	1
	align	4
_1806:
	dd	_1796
	dd	161
	dd	1
	align	4
_1807:
	dd	_1796
	dd	162
	dd	1
	align	4
_1808:
	dd	_1796
	dd	163
	dd	1
	align	4
_1809:
	dd	_1796
	dd	164
	dd	1
	align	4
_1810:
	dd	_1796
	dd	165
	dd	1
	align	4
_1811:
	dd	_1796
	dd	166
	dd	1
	align	4
_1812:
	dd	_1796
	dd	167
	dd	1
	align	4
_1814:
	dd	0
	align	4
_1816:
	dd	_1796
	dd	169
	dd	1
	align	4
_1817:
	dd	_1796
	dd	171
	dd	1
	align	4
_1818:
	dd	_1796
	dd	172
	dd	1
_1819:
	db	":Palette256",0
	align	4
_1822:
	dd	_1796
	dd	173
	dd	1
_1823:
	db	":Palette256",0
	align	4
_1826:
	dd	_1796
	dd	174
	dd	1
	align	4
_1834:
	dd	_1796
	dd	175
	dd	1
	align	4
_1843:
	dd	_1796
	dd	177
	dd	1
	align	4
_1855:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-4
	dd	0
	align	4
_1846:
	dd	_1796
	dd	179
	dd	2
	align	4
_1856:
	dd	_1796
	dd	190
	dd	1
_1857:
	db	"i",0
	align	4
_1860:
	dd	_1796
	dd	192
	dd	1
_1862:
	db	"C:/Monkey/projects/Hamster-Monkey/ohrrpgce2/GUI-CUSTOM/custom.bmx",0
	align	4
_1861:
	dd	_1862
	dd	18
	dd	1
	align	4
_1863:
	dd	_1862
	dd	19
	dd	1
	align	4
_798:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	79,72,82,82,80,71,67,69,32,45,67,117,115,116,111,109
	dw	32,71,85,73,32,69,100,105,116,111,114,32
	align	4
_1868:
	dd	_1862
	dd	21
	dd	1
	align	4
_1873:
	dd	_1862
	dd	22
	dd	1
	align	4
_1876:
	dd	_1862
	dd	29
	dd	1
	align	4
_1882:
	dd	3
	dd	0
	dd	0
	align	4
_1877:
	dd	_1862
	dd	25
	dd	1
	align	4
_1878:
	dd	_1862
	dd	26
	dd	1
	align	4
_1879:
	dd	_1862
	dd	27
	dd	1
_2142:
	db	"Self",0
	align	4
_2141:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_817
	dd	-4
	dd	0
	align	4
_2140:
	dd	3
	dd	0
	dd	0
	align	4
_2150:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_872
	dd	-4
	dd	0
	align	4
_2149:
	dd	3
	dd	0
	dd	0
	align	4
_2169:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_874
	dd	-4
	dd	0
	align	4
_2168:
	dd	3
	dd	0
	dd	0
_2188:
	db	"status",0
	align	4
_2187:
	dd	1
	dd	_834
	dd	2
	dd	_2142
	dd	_874
	dd	-4
	dd	2
	dd	_2188
	dd	_1156
	dd	-8
	dd	0
_2184:
	db	"C:/Monkey/projects/Hamster-Monkey/ohrrpgce2/GUI-CUSTOM/includes/lumpfile.bmx",0
	align	4
_2183:
	dd	_2184
	dd	51
	dd	3
	align	4
_2195:
	dd	1
	dd	_836
	dd	2
	dd	_2142
	dd	_874
	dd	-4
	dd	0
	align	4
_2189:
	dd	_2184
	dd	57
	dd	3
	align	4
_1:
	dd	_bbStringClass
	dd	2147483647
	dd	0
	align	4
_28:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,103,101,110
	align	4
_2192:
	dd	_2184
	dd	58
	dd	3
	align	4
_2256:
	dd	1
	dd	_837
	dd	2
	dd	_2142
	dd	_874
	dd	-4
	dd	0
	align	4
_2196:
	dd	_2184
	dd	65
	dd	3
	align	4
_2200:
	dd	_2184
	dd	66
	dd	3
	align	4
_2204:
	dd	_2184
	dd	67
	dd	3
	align	4
_2208:
	dd	_2184
	dd	68
	dd	3
	align	4
_2212:
	dd	_2184
	dd	69
	dd	3
	align	4
_2216:
	dd	_2184
	dd	70
	dd	3
	align	4
_2220:
	dd	_2184
	dd	71
	dd	3
	align	4
_2224:
	dd	_2184
	dd	72
	dd	3
	align	4
_2228:
	dd	_2184
	dd	73
	dd	3
	align	4
_2232:
	dd	_2184
	dd	74
	dd	3
	align	4
_2236:
	dd	_2184
	dd	75
	dd	3
	align	4
_2240:
	dd	_2184
	dd	76
	dd	3
	align	4
_2244:
	dd	_2184
	dd	77
	dd	3
	align	4
_2248:
	dd	_2184
	dd	78
	dd	3
	align	4
_2252:
	dd	_2184
	dd	79
	dd	3
	align	4
_2257:
	dd	1
	dd	_838
	dd	2
	dd	_2142
	dd	_874
	dd	-4
	dd	0
_2288:
	db	"buffer",0
_2289:
	db	"filen",0
_2290:
	db	"recordsize",0
_2291:
	db	"record",0
_2292:
	db	"expectfile",0
_2293:
	db	"f",0
_2294:
	db	":brl.stream.TStream",0
	align	4
_2287:
	dd	1
	dd	_839
	dd	2
	dd	_2142
	dd	_874
	dd	-8
	dd	2
	dd	_2288
	dd	_915
	dd	-12
	dd	2
	dd	_2289
	dd	_819
	dd	-16
	dd	2
	dd	_2290
	dd	_805
	dd	-20
	dd	2
	dd	_2291
	dd	_805
	dd	-24
	dd	2
	dd	_2292
	dd	_909
	dd	-4
	dd	2
	dd	_2293
	dd	_2294
	dd	-28
	dd	2
	dd	_805
	dd	_805
	dd	-32
	dd	0
	align	4
_2258:
	dd	_2184
	dd	126
	dd	3
	align	4
_2260:
	dd	_2184
	dd	127
	dd	3
	align	4
_2262:
	dd	_2184
	dd	129
	dd	3
	align	4
_2265:
	dd	3
	dd	0
	dd	0
	align	4
_2264:
	dd	_2184
	dd	129
	dd	27
	align	4
_2266:
	dd	_2184
	dd	131
	dd	3
	align	4
_2281:
	dd	3
	dd	0
	dd	0
	align	4
_2268:
	dd	_2184
	dd	132
	dd	4
	align	4
_2271:
	dd	3
	dd	0
	dd	0
	align	4
_2270:
	dd	_2184
	dd	132
	dd	30
	align	4
_30:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	32,102,114,111,109,32
	align	4
_29:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	70,105,108,101,32,110,111,116,32,102,111,117,110,100,32,108
	dw	111,97,100,105,110,103,32,114,101,99,111,114,100,32
	align	4
_2272:
	dd	_2184
	dd	133
	dd	4
	align	4
_2279:
	dd	3
	dd	0
	dd	0
	align	4
_2275:
	dd	_2184
	dd	134
	dd	5
	align	4
_2280:
	dd	_2184
	dd	136
	dd	4
	align	4
_2282:
	dd	_2184
	dd	139
	dd	3
	align	4
_2283:
	dd	_2184
	dd	141
	dd	3
	align	4
_2320:
	dd	1
	dd	_841
	dd	2
	dd	_2142
	dd	_874
	dd	-8
	dd	2
	dd	_2288
	dd	_915
	dd	-12
	dd	2
	dd	_2293
	dd	_2294
	dd	-16
	dd	2
	dd	_2290
	dd	_805
	dd	-20
	dd	2
	dd	_2291
	dd	_805
	dd	-24
	dd	2
	dd	_2292
	dd	_909
	dd	-4
	dd	2
	dd	_805
	dd	_805
	dd	-28
	dd	0
	align	4
_2295:
	dd	_2184
	dd	150
	dd	3
	align	4
_2297:
	dd	_2184
	dd	152
	dd	3
	align	4
_2300:
	dd	3
	dd	0
	dd	0
	align	4
_2299:
	dd	_2184
	dd	152
	dd	27
	align	4
_2301:
	dd	_2184
	dd	154
	dd	3
	align	4
_2316:
	dd	3
	dd	0
	dd	0
	align	4
_2303:
	dd	_2184
	dd	155
	dd	4
	align	4
_2306:
	dd	3
	dd	0
	dd	0
	align	4
_2305:
	dd	_2184
	dd	155
	dd	30
	align	4
_2307:
	dd	_2184
	dd	156
	dd	4
	align	4
_2314:
	dd	3
	dd	0
	dd	0
	align	4
_2310:
	dd	_2184
	dd	157
	dd	5
	align	4
_2315:
	dd	_2184
	dd	159
	dd	4
	align	4
_2317:
	dd	_2184
	dd	164
	dd	3
_2368:
	db	"idx",0
_2369:
	db	"readbuf",0
_2370:
	db	"[]s",0
_2371:
	db	"ret",0
	align	4
_2367:
	dd	1
	dd	_843
	dd	2
	dd	_2142
	dd	_874
	dd	-8
	dd	2
	dd	_2288
	dd	_915
	dd	-12
	dd	2
	dd	_2293
	dd	_2294
	dd	-16
	dd	2
	dd	_2290
	dd	_805
	dd	-20
	dd	2
	dd	_2291
	dd	_805
	dd	-24
	dd	2
	dd	_2368
	dd	_805
	dd	-28
	dd	2
	dd	_2369
	dd	_2370
	dd	-32
	dd	2
	dd	_2371
	dd	_909
	dd	-4
	dd	0
	align	4
_2321:
	dd	_2184
	dd	181
	dd	3
	align	4
_2323:
	dd	_2184
	dd	182
	dd	3
	align	4
_2326:
	dd	3
	dd	0
	dd	0
	align	4
_2325:
	dd	_2184
	dd	182
	dd	27
	align	4
_2327:
	dd	_2184
	dd	183
	dd	3
	align	4
_2330:
	dd	3
	dd	0
	dd	0
	align	4
_2329:
	dd	_2184
	dd	184
	dd	4
	align	4
_39:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	32,101,108,101,109,101,110,116,32,97,114,114,97,121
	align	4
_38:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	32,105,110,116,115,32,119,105,108,108,32,110,111,116,32,102
	dw	105,116,32,105,110,32
	align	4
_37:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	108,111,97,100,114,101,99,111,114,100,58,32
	align	4
_2331:
	dd	_2184
	dd	187
	dd	3
_2332:
	db	"s",0
	align	4
_2334:
	dd	_2184
	dd	189
	dd	3
	align	4
_2337:
	dd	3
	dd	0
	dd	0
	align	4
_2336:
	dd	_2184
	dd	190
	dd	4
	align	4
_2338:
	dd	_2184
	dd	193
	dd	3
	align	4
_2340:
	dd	_2184
	dd	194
	dd	3
	align	4
_2343:
	dd	3
	dd	0
	dd	0
	align	4
_2342:
	dd	_2184
	dd	194
	dd	63
	align	4
_2344:
	dd	_2184
	dd	195
	dd	3
	align	4
_2355:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-36
	dd	0
	align	4
_2348:
	dd	_2184
	dd	196
	dd	4
	align	4
_2354:
	dd	3
	dd	0
	dd	0
	align	4
_2350:
	dd	_2184
	dd	197
	dd	5
	align	4
_2356:
	dd	_2184
	dd	200
	dd	3
	align	4
_2365:
	dd	3
	dd	0
	dd	0
	align	4
_2359:
	dd	_2184
	dd	201
	dd	4
	align	4
_2366:
	dd	_2184
	dd	203
	dd	3
_2434:
	db	"array",0
_2435:
	db	"errmsg",0
	align	4
_2433:
	dd	1
	dd	_845
	dd	2
	dd	_2142
	dd	_874
	dd	-20
	dd	2
	dd	_832
	dd	_819
	dd	-24
	dd	2
	dd	_2434
	dd	_915
	dd	-28
	dd	2
	dd	_2435
	dd	_819
	dd	-32
	dd	0
	align	4
_2372:
	dd	_2184
	dd	208
	dd	3
_2425:
	db	"ff",0
_2426:
	db	"byt",0
_2427:
	db	"seg",0
_2428:
	db	"ilength",0
_2429:
	db	"buf",0
	align	4
_2424:
	dd	3
	dd	0
	dd	2
	dd	_2425
	dd	_2294
	dd	-36
	dd	2
	dd	_2426
	dd	_909
	dd	-4
	dd	2
	dd	_2427
	dd	_1017
	dd	-8
	dd	2
	dd	_828
	dd	_1017
	dd	-12
	dd	2
	dd	_820
	dd	_1017
	dd	-16
	dd	2
	dd	_2428
	dd	_805
	dd	-40
	dd	2
	dd	_805
	dd	_805
	dd	-44
	dd	2
	dd	_2429
	dd	_2370
	dd	-48
	dd	0
	align	4
_2374:
	dd	_2184
	dd	209
	dd	4
	align	4
_2380:
	dd	_2184
	dd	210
	dd	4
	align	4
_2382:
	dd	_2184
	dd	211
	dd	4
	align	4
_2384:
	dd	_2184
	dd	214
	dd	4
	align	4
_2385:
	dd	_2184
	dd	215
	dd	4
	align	4
_2389:
	dd	3
	dd	0
	dd	0
	align	4
_2387:
	dd	_2184
	dd	216
	dd	5
	align	4
_46:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	69,82,77,65,71,72,69,82,68
	align	4
_2388:
	dd	_2184
	dd	217
	dd	5
	align	4
_2390:
	dd	_2184
	dd	219
	dd	4
	align	4
_2391:
	dd	_2184
	dd	220
	dd	4
	align	4
_47:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	77,97,103,105,99,58,32
	align	4
_2392:
	dd	_2184
	dd	221
	dd	4
	align	4
_2397:
	dd	3
	dd	0
	dd	0
	align	4
_2394:
	dd	_2184
	dd	222
	dd	5
	align	4
_2395:
	dd	_2184
	dd	224
	dd	5
	align	4
_48:
	dd	_bbStringClass
	dd	2147483647
	dd	44
	dw	98,97,100,32,104,101,97,100,101,114,32,45,32,32,39,102
	dw	105,108,101,32,109,97,121,32,97,108,115,111,32,98,101,32
	dw	122,101,114,111,32,108,101,110,103,116,104,39
	align	4
_2396:
	dd	_2184
	dd	225
	dd	5
	align	4
_2398:
	dd	_2184
	dd	227
	dd	4
	align	4
_2399:
	dd	_2184
	dd	228
	dd	4
	align	4
_2400:
	dd	_2184
	dd	229
	dd	4
	align	4
_2401:
	dd	_2184
	dd	231
	dd	4
	align	4
_2402:
	dd	_2184
	dd	233
	dd	4
_2403:
	db	"s",0
	align	4
_2405:
	dd	_2184
	dd	235
	dd	4
	align	4
_2412:
	dd	3
	dd	0
	dd	0
	align	4
_2408:
	dd	_2184
	dd	236
	dd	5
	align	4
_2413:
	dd	_2184
	dd	238
	dd	4
	align	4
_2414:
	dd	_2184
	dd	240
	dd	4
	align	4
_2423:
	dd	3
	dd	0
	dd	0
	align	4
_2417:
	dd	_2184
	dd	241
	dd	5
	align	4
_2432:
	dd	3
	dd	0
	dd	0
	align	4
_2431:
	dd	_2184
	dd	245
	dd	4
	align	4
_55:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	70,105,108,101,32,99,111,114,114,117,112,116,32,111,114,32
	dw	109,105,115,115,105,110,103
_2592:
	db	"lf",0
_2593:
	db	"dat",0
_2594:
	db	"maxsize",0
_2595:
	db	"lname",0
_2596:
	db	"namelen",0
_2597:
	db	"bufr",0
_2567:
	db	":brl.bank.TBank",0
_2598:
	db	"nowildcards",0
_2599:
	db	"path",0
_2600:
	db	"fmask",0
_2601:
	db	"skiplump",0
	align	4
_2591:
	dd	1
	dd	_847
	dd	2
	dd	_2142
	dd	_874
	dd	-12
	dd	2
	dd	_2188
	dd	_1156
	dd	-16
	dd	2
	dd	_2592
	dd	_2294
	dd	-20
	dd	2
	dd	_2593
	dd	_909
	dd	-4
	dd	2
	dd	_1053
	dd	_805
	dd	-24
	dd	2
	dd	_2594
	dd	_805
	dd	-28
	dd	2
	dd	_2595
	dd	_819
	dd	-32
	dd	2
	dd	_2596
	dd	_805
	dd	-36
	dd	2
	dd	_2597
	dd	_2567
	dd	-40
	dd	2
	dd	_2598
	dd	_805
	dd	-44
	dd	2
	dd	_2599
	dd	_819
	dd	-48
	dd	2
	dd	_2600
	dd	_819
	dd	-52
	dd	2
	dd	_2601
	dd	_909
	dd	-8
	dd	0
	align	4
_2436:
	dd	_2184
	dd	251
	dd	3
	align	4
_2438:
	dd	_2184
	dd	252
	dd	3
	align	4
_2440:
	dd	_2184
	dd	253
	dd	3
	align	4
_2442:
	dd	_2184
	dd	254
	dd	3
	align	4
_2444:
	dd	_2184
	dd	255
	dd	3
	align	4
_2446:
	dd	_2184
	dd	256
	dd	3
	align	4
_2448:
	dd	_2184
	dd	257
	dd	3
	align	4
_2450:
	dd	_2184
	dd	258
	dd	3
	align	4
_2452:
	dd	_2184
	dd	259
	dd	3
	align	4
_2458:
	dd	_2184
	dd	260
	dd	3
	align	4
_2460:
	dd	_2184
	dd	261
	dd	3
	align	4
_2462:
	dd	_2184
	dd	262
	dd	3
	align	4
_2470:
	dd	3
	dd	0
	dd	0
	align	4
_2466:
	dd	_2184
	dd	263
	dd	4
	align	4
_57:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	32,105,115,32,110,111,116,32,114,101,97,100,97,98,108,101
	align	4
_56:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	117,110,108,117,109,112,102,105,108,101,58,32
	align	4
_2469:
	dd	_2184
	dd	265
	dd	4
	align	4
_2471:
	dd	_2184
	dd	268
	dd	3
	align	4
_2474:
	dd	_2184
	dd	269
	dd	3
	align	4
_2475:
	dd	_2184
	dd	270
	dd	3
	align	4
_58:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	77,97,120,32,83,105,122,101,58,32
	align	4
_2476:
	dd	_2184
	dd	274
	dd	3
	align	4
_2477:
	dd	_2184
	dd	275
	dd	3
	align	4
_2481:
	dd	3
	dd	0
	dd	0
	align	4
_2479:
	dd	_2184
	dd	276
	dd	4
	align	4
_2480:
	dd	_2184
	dd	277
	dd	4
	align	4
_2482:
	dd	_2184
	dd	287
	dd	3
	align	4
_2483:
	dd	_2184
	dd	288
	dd	3
	align	4
_2584:
	dd	3
	dd	0
	dd	0
	align	4
_2484:
	dd	_2184
	dd	290
	dd	4
	align	4
_2485:
	dd	_2184
	dd	291
	dd	4
	align	4
_2486:
	dd	_2184
	dd	292
	dd	4
	align	4
_2494:
	dd	3
	dd	0
	dd	0
	align	4
_2491:
	dd	_2184
	dd	293
	dd	5
	align	4
_2492:
	dd	_2184
	dd	294
	dd	5
	align	4
_2493:
	dd	_2184
	dd	295
	dd	5
	align	4
_2495:
	dd	_2184
	dd	297
	dd	4
	align	4
_2501:
	dd	3
	dd	0
	dd	0
	align	4
_2497:
	dd	_2184
	dd	298
	dd	5
	align	4
_67:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	39
	align	4
_66:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	32,58,32,108,117,109,112,32,110,97,109,101,32,116,111,111
	dw	32,108,111,110,103,58,32,39
	align	4
_65:
	dd	_bbStringClass
	dd	2147483647
	dd	30
	dw	117,110,108,117,109,112,102,105,108,101,58,32,99,111,114,114
	dw	117,112,116,32,108,117,109,112,32,102,105,108,101,32
	align	4
_2500:
	dd	_2184
	dd	300
	dd	5
	align	4
_2502:
	dd	_2184
	dd	302
	dd	4
	align	4
_2503:
	dd	_2184
	dd	303
	dd	4
	align	4
_68:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	108,117,109,112,32,110,97,109,101,32
	align	4
_2504:
	dd	_2184
	dd	311
	dd	4
	align	4
_2583:
	dd	3
	dd	0
	dd	0
	align	4
_2506:
	dd	_2184
	dd	313
	dd	5
	align	4
_2507:
	dd	_2184
	dd	314
	dd	5
	align	4
_2508:
	dd	_2184
	dd	315
	dd	5
	align	4
_2509:
	dd	_2184
	dd	316
	dd	5
	align	4
_2510:
	dd	_2184
	dd	317
	dd	5
	align	4
_2511:
	dd	_2184
	dd	318
	dd	5
	align	4
_2512:
	dd	_2184
	dd	319
	dd	5
	align	4
_2513:
	dd	_2184
	dd	320
	dd	5
	align	4
_2514:
	dd	_2184
	dd	322
	dd	5
	align	4
_2523:
	dd	3
	dd	0
	dd	0
	align	4
_2516:
	dd	_2184
	dd	323
	dd	6
	align	4
_70:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	32,101,120,99,101,101,100,115,32,115,111,117,114,99,101,32
	dw	115,105,122,101,32
	align	4
_69:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	58,32,99,111,114,114,117,112,116,32,108,117,109,112,32,115
	dw	105,122,101,32
	align	4
_2519:
	dd	_2184
	dd	324
	dd	6
	align	4
_2522:
	dd	_2184
	dd	327
	dd	6
	align	4
_2526:
	dd	3
	dd	0
	dd	0
	align	4
_2525:
	dd	_2184
	dd	329
	dd	6
	align	4
_71:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	108,117,109,112,32,115,105,122,101,58,32
	align	4
_2527:
	dd	_2184
	dd	334
	dd	5
	align	4
_2528:
	dd	_2184
	dd	337
	dd	5
_2565:
	db	"of",0
_2566:
	db	"csize",0
	align	4
_2564:
	dd	3
	dd	0
	dd	2
	dd	_2565
	dd	_2294
	dd	-56
	dd	2
	dd	_2566
	dd	_2567
	dd	-60
	dd	0
	align	4
_2530:
	dd	_2184
	dd	339
	dd	6
	align	4
_2532:
	dd	_2184
	dd	340
	dd	6
	align	4
_2534:
	dd	_2184
	dd	341
	dd	6
	align	4
_2537:
	dd	3
	dd	0
	dd	0
	align	4
_2536:
	dd	_2184
	dd	342
	dd	7
	align	4
_72:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	40,102,105,108,101,32,97,108,114,101,97,100,121,32,101,120
	dw	105,115,116,115,41
	align	4
_2538:
	dd	_2184
	dd	344
	dd	6
	align	4
_73:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	87,114,105,116,101,32,116,111,32,102,105,108,101,58,32
	align	4
_2539:
	dd	_2184
	dd	345
	dd	6
	align	4
_2543:
	dd	3
	dd	0
	dd	0
	align	4
_2541:
	dd	_2184
	dd	346
	dd	7
	align	4
_74:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	85,110,108,117,109,112,105,110,103,32
	align	4
_2542:
	dd	_2184
	dd	347
	dd	7
	align	4
_2544:
	dd	_2184
	dd	350
	dd	6
	align	4
_2545:
	dd	_2184
	dd	351
	dd	6
	align	4
_2550:
	dd	3
	dd	0
	dd	0
	align	4
_2547:
	dd	_2184
	dd	352
	dd	7
	align	4
_78:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	32,110,111,116,32,119,114,105,116,97,98,108,101,44,32,115
	dw	107,105,112,112,105,110,103
	align	4
_77:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	41,58,32
	align	4
_76:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	44,32
	align	4
_75:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	117,110,108,117,109,112,102,105,108,101,40
	align	4
_2559:
	dd	3
	dd	0
	dd	0
	align	4
_2552:
	dd	_2184
	dd	359
	dd	7
	align	4
_2553:
	dd	_2184
	dd	360
	dd	7
	align	4
_79:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	87,114,105,116,105,110,103,32,76,117,109,112
	align	4
_2554:
	dd	_2184
	dd	362
	dd	7
	align	4
_2557:
	dd	3
	dd	0
	dd	0
	align	4
_2555:
	dd	_2184
	dd	365
	dd	8
	align	4
_2556:
	dd	_2184
	dd	370
	dd	8
	align	4
_2558:
	dd	_2184
	dd	373
	dd	7
	align	4
_2560:
	dd	_2184
	dd	377
	dd	6
	align	4
_2563:
	dd	3
	dd	0
	dd	0
	align	4
_2562:
	dd	_2184
	dd	377
	dd	31
	align	4
_2569:
	dd	3
	dd	0
	dd	0
	align	4
_2570:
	dd	_2184
	dd	382
	dd	5
_2578:
	db	"endpos",0
	align	4
_2577:
	dd	3
	dd	0
	dd	2
	dd	_2578
	dd	_805
	dd	-64
	dd	0
	align	4
_2572:
	dd	_2184
	dd	384
	dd	6
	align	4
_2574:
	dd	_2184
	dd	385
	dd	6
	align	4
_2575:
	dd	_2184
	dd	386
	dd	6
	align	4
_2576:
	dd	_2184
	dd	388
	dd	6
	align	4
_83:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	83,107,105,112,112,105,110,103,32,76,117,109,112
	align	4
_2579:
	dd	_2184
	dd	394
	dd	5
	align	4
_2582:
	dd	3
	dd	0
	dd	0
	align	4
_2581:
	dd	_2184
	dd	395
	dd	6
	align	4
_2585:
	dd	_2184
	dd	401
	dd	3
	align	4
_2586:
	dd	_2184
	dd	402
	dd	3
	align	4
_2590:
	dd	3
	dd	0
	dd	0
	align	4
_2588:
	dd	_2184
	dd	403
	dd	4
	align	4
_84:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	70,105,110,105,115,104,101,100,32,85,110,108,117,109,112,105
	dw	110,103
	align	4
_2589:
	dd	_2184
	dd	404
	dd	4
	align	4
_2655:
	dd	1
	dd	_848
	dd	2
	dd	_951
	dd	_805
	dd	-4
	dd	0
	align	4
_2602:
	dd	_2184
	dd	411
	dd	3
	align	4
_2605:
	dd	3
	dd	0
	dd	0
	align	4
_2604:
	dd	_2184
	dd	411
	dd	18
	align	4
_2606:
	dd	_2184
	dd	412
	dd	3
	align	4
_2609:
	dd	3
	dd	0
	dd	0
	align	4
_2608:
	dd	_2184
	dd	412
	dd	18
	align	4
_2610:
	dd	_2184
	dd	413
	dd	3
	align	4
_2613:
	dd	3
	dd	0
	dd	0
	align	4
_2612:
	dd	_2184
	dd	413
	dd	18
	align	4
_2614:
	dd	_2184
	dd	414
	dd	3
	align	4
_2617:
	dd	3
	dd	0
	dd	0
	align	4
_2616:
	dd	_2184
	dd	414
	dd	18
	align	4
_2618:
	dd	_2184
	dd	415
	dd	3
	align	4
_2621:
	dd	3
	dd	0
	dd	0
	align	4
_2620:
	dd	_2184
	dd	415
	dd	18
	align	4
_2622:
	dd	_2184
	dd	416
	dd	3
	align	4
_2625:
	dd	3
	dd	0
	dd	0
	align	4
_2624:
	dd	_2184
	dd	416
	dd	18
	align	4
_2626:
	dd	_2184
	dd	417
	dd	3
	align	4
_2629:
	dd	3
	dd	0
	dd	0
	align	4
_2628:
	dd	_2184
	dd	417
	dd	18
	align	4
_2630:
	dd	_2184
	dd	418
	dd	3
	align	4
_2633:
	dd	3
	dd	0
	dd	0
	align	4
_2632:
	dd	_2184
	dd	418
	dd	18
	align	4
_2634:
	dd	_2184
	dd	419
	dd	3
	align	4
_2637:
	dd	3
	dd	0
	dd	0
	align	4
_2636:
	dd	_2184
	dd	419
	dd	18
	align	4
_2638:
	dd	_2184
	dd	420
	dd	3
	align	4
_2641:
	dd	3
	dd	0
	dd	0
	align	4
_2640:
	dd	_2184
	dd	420
	dd	18
	align	4
_2642:
	dd	_2184
	dd	421
	dd	3
	align	4
_2645:
	dd	3
	dd	0
	dd	0
	align	4
_2644:
	dd	_2184
	dd	421
	dd	19
	align	4
_2646:
	dd	_2184
	dd	422
	dd	3
	align	4
_2649:
	dd	3
	dd	0
	dd	0
	align	4
_2648:
	dd	_2184
	dd	422
	dd	19
	align	4
_2650:
	dd	_2184
	dd	423
	dd	3
	align	4
_2653:
	dd	3
	dd	0
	dd	0
	align	4
_2652:
	dd	_2184
	dd	423
	dd	19
	align	4
_2654:
	dd	_2184
	dd	424
	dd	3
	align	4
_2709:
	dd	1
	dd	_850
	dd	2
	dd	_951
	dd	_805
	dd	-4
	dd	0
	align	4
_2656:
	dd	_2184
	dd	429
	dd	3
	align	4
_2659:
	dd	3
	dd	0
	dd	0
	align	4
_2658:
	dd	_2184
	dd	429
	dd	18
	align	4
_2660:
	dd	_2184
	dd	430
	dd	3
	align	4
_2663:
	dd	3
	dd	0
	dd	0
	align	4
_2662:
	dd	_2184
	dd	430
	dd	18
	align	4
_2664:
	dd	_2184
	dd	431
	dd	3
	align	4
_2667:
	dd	3
	dd	0
	dd	0
	align	4
_2666:
	dd	_2184
	dd	431
	dd	18
	align	4
_2668:
	dd	_2184
	dd	432
	dd	3
	align	4
_2671:
	dd	3
	dd	0
	dd	0
	align	4
_2670:
	dd	_2184
	dd	432
	dd	18
	align	4
_2672:
	dd	_2184
	dd	433
	dd	3
	align	4
_2675:
	dd	3
	dd	0
	dd	0
	align	4
_2674:
	dd	_2184
	dd	433
	dd	18
	align	4
_2676:
	dd	_2184
	dd	434
	dd	3
	align	4
_2679:
	dd	3
	dd	0
	dd	0
	align	4
_2678:
	dd	_2184
	dd	434
	dd	18
	align	4
_2680:
	dd	_2184
	dd	435
	dd	3
	align	4
_2683:
	dd	3
	dd	0
	dd	0
	align	4
_2682:
	dd	_2184
	dd	435
	dd	18
	align	4
_2684:
	dd	_2184
	dd	436
	dd	3
	align	4
_2687:
	dd	3
	dd	0
	dd	0
	align	4
_2686:
	dd	_2184
	dd	436
	dd	18
	align	4
_2688:
	dd	_2184
	dd	437
	dd	3
	align	4
_2691:
	dd	3
	dd	0
	dd	0
	align	4
_2690:
	dd	_2184
	dd	437
	dd	18
	align	4
_2692:
	dd	_2184
	dd	438
	dd	3
	align	4
_2695:
	dd	3
	dd	0
	dd	0
	align	4
_2694:
	dd	_2184
	dd	438
	dd	18
	align	4
_2696:
	dd	_2184
	dd	439
	dd	3
	align	4
_2699:
	dd	3
	dd	0
	dd	0
	align	4
_2698:
	dd	_2184
	dd	439
	dd	19
	align	4
_2700:
	dd	_2184
	dd	440
	dd	3
	align	4
_2703:
	dd	3
	dd	0
	dd	0
	align	4
_2702:
	dd	_2184
	dd	440
	dd	19
	align	4
_2704:
	dd	_2184
	dd	441
	dd	3
	align	4
_2707:
	dd	3
	dd	0
	dd	0
	align	4
_2706:
	dd	_2184
	dd	441
	dd	19
	align	4
_2708:
	dd	_2184
	dd	442
	dd	3
	align	4
_2738:
	dd	1
	dd	_851
	dd	2
	dd	_951
	dd	_805
	dd	-8
	dd	0
	align	4
_2710:
	dd	_2184
	dd	447
	dd	3
	align	4
_85:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	98,105,110,115,105,122,101,46,98,105,110
_2730:
	db	"fh",0
	align	4
_2729:
	dd	3
	dd	0
	dd	2
	dd	_2290
	dd	_1017
	dd	-4
	dd	2
	dd	_2730
	dd	_2294
	dd	-12
	dd	0
	align	4
_2712:
	dd	_2184
	dd	448
	dd	4
	align	4
_2714:
	dd	_2184
	dd	449
	dd	4
	align	4
_2716:
	dd	_2184
	dd	450
	dd	4
	align	4
_2717:
	dd	_2184
	dd	451
	dd	4
	align	4
_2721:
	dd	3
	dd	0
	dd	0
	align	4
_2719:
	dd	_2184
	dd	452
	dd	5
	align	4
_86:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	67,97,110,39,116,32,83,101,101,107,32,45,32,68,101,102
	dw	97,117,108,116,32,98,105,110,32,115,105,122,101,58,32
	align	4
_2720:
	dd	_2184
	dd	453
	dd	5
	align	4
_2725:
	dd	3
	dd	0
	dd	0
	align	4
_2723:
	dd	_2184
	dd	456
	dd	5
	align	4
_2724:
	dd	_2184
	dd	457
	dd	5
	align	4
_2726:
	dd	_2184
	dd	460
	dd	4
	align	4
_2727:
	dd	_2184
	dd	462
	dd	4
	align	4
_87:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	82,101,97,100,32,66,105,110,115,105,122,101,58,32
	align	4
_2728:
	dd	_2184
	dd	463
	dd	4
_2737:
	db	"d",0
	align	4
_2736:
	dd	3
	dd	0
	dd	2
	dd	_2737
	dd	_805
	dd	-16
	dd	0
	align	4
_2732:
	dd	_2184
	dd	465
	dd	4
	align	4
_2734:
	dd	_2184
	dd	466
	dd	4
	align	4
_89:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	32,68,101,102,97,117,108,116,32,66,105,110,32,115,105,122
	dw	101,58,32
	align	4
_88:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	67,97,110,39,116,32,108,111,97,100,58,32
	align	4
_2735:
	dd	_2184
	dd	467
	dd	4
	align	4
_2740:
	dd	1
	dd	_852
	dd	2
	dd	_951
	dd	_805
	dd	-4
	dd	0
	align	4
_2739:
	dd	_2184
	dd	476
	dd	3
_2749:
	db	"oldext",0
	align	4
_2748:
	dd	1
	dd	_853
	dd	2
	dd	_976
	dd	_805
	dd	-4
	dd	2
	dd	_2749
	dd	_819
	dd	-8
	dd	0
	align	4
_2741:
	dd	_2184
	dd	480
	dd	3
	align	4
_2744:
	dd	3
	dd	0
	dd	0
	align	4
_2743:
	dd	_2184
	dd	481
	dd	4
	align	4
_91:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	48
	align	4
_90:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	46
	align	4
_2747:
	dd	3
	dd	0
	dd	0
	align	4
_2746:
	dd	_2184
	dd	483
	dd	4
_2759:
	db	"a",0
	align	4
_2758:
	dd	1
	dd	_855
	dd	2
	dd	_2759
	dd	_805
	dd	-4
	dd	2
	dd	_909
	dd	_805
	dd	-8
	dd	0
	align	4
_2750:
	dd	_2184
	dd	489
	dd	3
	align	4
_2753:
	dd	3
	dd	0
	dd	0
	align	4
_2752:
	dd	_2184
	dd	490
	dd	4
	align	4
_2756:
	dd	3
	dd	0
	dd	0
	align	4
_2755:
	dd	_2184
	dd	492
	dd	4
	align	4
_2768:
	dd	1
	dd	_857
	dd	2
	dd	_2759
	dd	_805
	dd	-4
	dd	2
	dd	_909
	dd	_805
	dd	-8
	dd	0
	align	4
_2760:
	dd	_2184
	dd	500
	dd	3
	align	4
_2763:
	dd	3
	dd	0
	dd	0
	align	4
_2762:
	dd	_2184
	dd	501
	dd	4
	align	4
_2766:
	dd	3
	dd	0
	dd	0
	align	4
_2765:
	dd	_2184
	dd	503
	dd	4
_2779:
	db	"lowest",0
_2780:
	db	"highest",0
	align	4
_2778:
	dd	1
	dd	_858
	dd	2
	dd	_923
	dd	_805
	dd	-4
	dd	2
	dd	_2779
	dd	_805
	dd	-8
	dd	2
	dd	_2780
	dd	_805
	dd	-12
	dd	0
	align	4
_2769:
	dd	_2184
	dd	511
	dd	4
	align	4
_2772:
	dd	3
	dd	0
	dd	0
	align	4
_2771:
	dd	_2184
	dd	511
	dd	23
	align	4
_2773:
	dd	_2184
	dd	512
	dd	4
	align	4
_2776:
	dd	3
	dd	0
	dd	0
	align	4
_2775:
	dd	_2184
	dd	512
	dd	24
	align	4
_2777:
	dd	_2184
	dd	513
	dd	3
	align	4
_2790:
	dd	1
	dd	_860
	dd	2
	dd	_923
	dd	_1017
	dd	-4
	dd	2
	dd	_2779
	dd	_1017
	dd	-8
	dd	2
	dd	_2780
	dd	_1017
	dd	-12
	dd	0
	align	4
_2781:
	dd	_2184
	dd	518
	dd	4
	align	4
_2784:
	dd	3
	dd	0
	dd	0
	align	4
_2783:
	dd	_2184
	dd	518
	dd	23
	align	4
_2785:
	dd	_2184
	dd	519
	dd	4
	align	4
_2788:
	dd	3
	dd	0
	dd	0
	align	4
_2787:
	dd	_2184
	dd	519
	dd	24
	align	4
_2789:
	dd	_2184
	dd	520
	dd	3
_2833:
	db	"arr",0
_2834:
	db	"o",0
_2835:
	db	"bi",0
_2836:
	db	"bp",0
_2837:
	db	"toggle",0
	align	4
_2832:
	dd	1
	dd	_862
	dd	2
	dd	_2833
	dd	_915
	dd	-4
	dd	2
	dd	_2834
	dd	_805
	dd	-8
	dd	2
	dd	_1029
	dd	_915
	dd	-12
	dd	2
	dd	_805
	dd	_805
	dd	-16
	dd	2
	dd	_2835
	dd	_805
	dd	-20
	dd	2
	dd	_2836
	dd	_915
	dd	-24
	dd	2
	dd	_2837
	dd	_805
	dd	-28
	dd	2
	dd	_1020
	dd	_819
	dd	-32
	dd	0
	align	4
_2791:
	dd	_2184
	dd	529
	dd	3
	align	4
_2793:
	dd	_2184
	dd	530
	dd	3
	align	4
_2795:
	dd	_2184
	dd	531
	dd	3
	align	4
_2797:
	dd	_2184
	dd	532
	dd	3
	align	4
_2799:
	dd	_2184
	dd	533
	dd	3
	align	4
_2801:
	dd	_2184
	dd	534
	dd	3
	align	4
_2802:
	dd	_2184
	dd	536
	dd	3
	align	4
_2803:
	dd	_2184
	dd	537
	dd	3
	align	4
_2804:
	dd	_2184
	dd	539
	dd	3
	align	4
_2830:
	dd	3
	dd	0
	dd	0
	align	4
_2807:
	dd	_2184
	dd	540
	dd	4
	align	4
_2816:
	dd	3
	dd	0
	dd	0
	align	4
_2809:
	dd	_2184
	dd	541
	dd	5
	align	4
_2815:
	dd	_2184
	dd	542
	dd	5
	align	4
_2826:
	dd	3
	dd	0
	dd	0
	align	4
_2818:
	dd	_2184
	dd	544
	dd	5
	align	4
_2824:
	dd	_2184
	dd	545
	dd	5
	align	4
_2825:
	dd	_2184
	dd	546
	dd	5
	align	4
_2827:
	dd	_2184
	dd	548
	dd	4
	align	4
_2831:
	dd	_2184
	dd	550
	dd	3
_2953:
	db	"match",0
_2954:
	db	"m",0
_2955:
	db	"si",0
_2956:
	db	"sm",0
	align	4
_2952:
	dd	1
	dd	_864
	dd	2
	dd	_2953
	dd	_819
	dd	-4
	dd	2
	dd	_1082
	dd	_819
	dd	-8
	dd	2
	dd	_805
	dd	_805
	dd	-12
	dd	2
	dd	_2954
	dd	_805
	dd	-16
	dd	2
	dd	_2955
	dd	_805
	dd	-20
	dd	2
	dd	_2956
	dd	_805
	dd	-24
	dd	2
	dd	_864
	dd	_805
	dd	-28
	dd	0
	align	4
_2838:
	dd	_2184
	dd	555
	dd	3
	align	4
_2840:
	dd	_2184
	dd	556
	dd	3
	align	4
_2842:
	dd	_2184
	dd	557
	dd	3
	align	4
_2845:
	dd	_2184
	dd	558
	dd	3
	align	4
_2847:
	dd	_2184
	dd	561
	dd	3
	align	4
_2851:
	dd	3
	dd	0
	dd	0
	align	4
_2849:
	dd	_2184
	dd	562
	dd	4
	align	4
_2850:
	dd	_2184
	dd	563
	dd	4
	align	4
_2852:
	dd	_2184
	dd	566
	dd	3
	align	4
_2853:
	dd	_2184
	dd	567
	dd	3
	align	4
_2854:
	dd	_2184
	dd	568
	dd	3
	align	4
_2880:
	dd	3
	dd	0
	dd	0
	align	4
_2862:
	dd	_2184
	dd	569
	dd	4
	align	4
_2877:
	dd	3
	dd	0
	dd	0
	align	4
_2875:
	dd	_2184
	dd	570
	dd	5
	align	4
_2876:
	dd	_2184
	dd	571
	dd	5
	align	4
_2878:
	dd	_2184
	dd	573
	dd	4
	align	4
_2879:
	dd	_2184
	dd	574
	dd	4
	align	4
_2881:
	dd	_2184
	dd	577
	dd	3
	align	4
_2887:
	dd	3
	dd	0
	dd	0
	align	4
_2885:
	dd	_2184
	dd	578
	dd	4
	align	4
_2886:
	dd	_2184
	dd	579
	dd	4
	align	4
_2888:
	dd	_2184
	dd	582
	dd	3
	align	4
_2935:
	dd	3
	dd	0
	dd	0
	align	4
_2889:
	dd	_2184
	dd	583
	dd	4
	align	4
_2894:
	dd	3
	dd	0
	dd	0
	align	4
_2891:
	dd	_2184
	dd	585
	dd	5
	align	4
_2892:
	dd	_2184
	dd	586
	dd	5
	align	4
_2893:
	dd	_2184
	dd	587
	dd	5
	align	4
_2934:
	dd	3
	dd	0
	dd	0
	align	4
_2896:
	dd	_2184
	dd	589
	dd	5
	align	4
_2910:
	dd	3
	dd	0
	dd	0
	align	4
_2901:
	dd	_2184
	dd	590
	dd	6
	align	4
_2902:
	dd	_2184
	dd	591
	dd	6
	align	4
_2906:
	dd	3
	dd	0
	dd	0
	align	4
_2904:
	dd	_2184
	dd	593
	dd	7
	align	4
_2905:
	dd	_2184
	dd	594
	dd	7
	align	4
_2907:
	dd	_2184
	dd	596
	dd	6
	align	4
_2908:
	dd	_2184
	dd	598
	dd	6
	align	4
_2909:
	dd	_2184
	dd	599
	dd	6
	align	4
_2933:
	dd	3
	dd	0
	dd	0
	align	4
_2912:
	dd	_2184
	dd	601
	dd	6
	align	4
_2927:
	dd	3
	dd	0
	dd	0
	align	4
_2925:
	dd	_2184
	dd	603
	dd	7
	align	4
_2926:
	dd	_2184
	dd	604
	dd	7
	align	4
_2932:
	dd	3
	dd	0
	dd	0
	align	4
_2929:
	dd	_2184
	dd	607
	dd	7
	align	4
_2930:
	dd	_2184
	dd	608
	dd	7
	align	4
_2931:
	dd	_2184
	dd	609
	dd	7
	align	4
_2936:
	dd	_2184
	dd	615
	dd	6
	align	4
_2943:
	dd	3
	dd	0
	dd	0
	align	4
_2942:
	dd	_2184
	dd	616
	dd	7
	align	4
_2944:
	dd	_2184
	dd	619
	dd	6
	align	4
_2947:
	dd	3
	dd	0
	dd	0
	align	4
_2946:
	dd	_2184
	dd	620
	dd	5
	align	4
_2950:
	dd	3
	dd	0
	dd	0
	align	4
_2949:
	dd	_2184
	dd	622
	dd	5
	align	4
_2951:
	dd	_2184
	dd	625
	dd	2
	align	4
_2963:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_822
	dd	-4
	dd	0
	align	4
_2962:
	dd	3
	dd	0
	dd	0
_2980:
	db	":LumpUnion",0
	align	4
_2979:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_2980
	dd	-4
	dd	0
	align	4
_2978:
	dd	3
	dd	0
	dd	0
	align	4
_2992:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_826
	dd	-4
	dd	0
	align	4
_2991:
	dd	3
	dd	0
	dd	0
_3002:
	db	":SpriteType",0
	align	4
_3001:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3002
	dd	-4
	dd	0
	align	4
_3000:
	dd	3
	dd	0
	dd	0
_3006:
	db	":RGBP",0
	align	4
_3005:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3006
	dd	-4
	dd	0
	align	4
_3004:
	dd	3
	dd	0
	dd	0
	align	4
_3011:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_946
	dd	-4
	dd	0
_3008:
	db	"i",0
	align	4
_3010:
	dd	3
	dd	0
	dd	0
	align	4
_3016:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_1038
	dd	-4
	dd	0
	align	4
_3015:
	dd	3
	dd	0
	dd	0
_3024:
	db	":NPCType",0
	align	4
_3023:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3024
	dd	-4
	dd	0
_3020:
	db	"i",0
	align	4
_3022:
	dd	3
	dd	0
	dd	0
_3036:
	db	":NPCInst",0
	align	4
_3035:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3036
	dd	-4
	dd	0
_3032:
	db	"i",0
	align	4
_3034:
	dd	3
	dd	0
	dd	0
_3058:
	db	":MapeditState",0
	align	4
_3057:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3058
	dd	-4
	dd	0
_3041:
	db	":Door",0
_3043:
	db	":NPCInst",0
_3045:
	db	":NPCType",0
_3047:
	db	":DoorLink",0
_3053:
	db	"i",0
	align	4
_3056:
	dd	3
	dd	0
	dd	0
_3201:
	db	"mapnum",0
_3202:
	db	"bsize",0
	align	4
_3200:
	dd	1
	dd	_986
	dd	2
	dd	_2142
	dd	_3058
	dd	-4
	dd	2
	dd	_3201
	dd	_805
	dd	-8
	dd	2
	dd	_3202
	dd	_805
	dd	-12
	dd	2
	dd	_910
	dd	_915
	dd	-16
	dd	0
_3083:
	db	"C:/Monkey/projects/Hamster-Monkey/ohrrpgce2/GUI-CUSTOM/includes/udts.bmx",0
	align	4
_3082:
	dd	_3083
	dd	105
	dd	3
	align	4
_3085:
	dd	_3083
	dd	106
	dd	3
	align	4
_106:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	77,65,73,78,32,66,73,78,32,83,73,90,69,33,58,32
	align	4
_3086:
	dd	_3083
	dd	107
	dd	3
_3087:
	db	"i",0
	align	4
_3089:
	dd	_3083
	dd	108
	dd	3
	align	4
_3097:
	dd	_3083
	dd	109
	dd	3
	align	4
_107:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,109,97,112
	align	4
_3102:
	dd	_3083
	dd	110
	dd	3
	align	4
_3116:
	dd	3
	dd	0
	dd	0
	align	4
_3109:
	dd	_3083
	dd	110
	dd	24
	align	4
_3117:
	dd	_3083
	dd	112
	dd	3
	align	4
_108:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	116
	align	4
_3125:
	dd	_3083
	dd	113
	dd	3
	align	4
_3130:
	dd	3
	dd	0
	dd	0
	align	4
_3129:
	dd	_3083
	dd	114
	dd	4
	align	4
_3131:
	dd	_3083
	dd	116
	dd	3
	align	4
_109:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	112
	align	4
_3139:
	dd	_3083
	dd	117
	dd	3
	align	4
_110:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	101
	align	4
_3147:
	dd	_3083
	dd	118
	dd	3
	align	4
_3155:
	dd	_3083
	dd	119
	dd	3
	align	4
_3166:
	dd	_3083
	dd	120
	dd	3
	align	4
_3177:
	dd	_3083
	dd	121
	dd	3
	align	4
_111:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	78,97,109,101,58,32
	align	4
_3180:
	dd	_3083
	dd	122
	dd	3
	align	4
_3183:
	dd	_3083
	dd	123
	dd	3
	align	4
_112:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,100,111,120
	align	4
_3188:
	dd	_3083
	dd	124
	dd	3
	align	4
_113:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	100
	align	4
_3193:
	dd	_3083
	dd	126
	dd	3
	align	4
_114:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	108
	align	4
_3196:
	dd	_3083
	dd	127
	dd	3
	align	4
_115:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	110
	align	4
_3199:
	dd	_3083
	dd	155
	dd	3
_3272:
	db	"resize",0
_3273:
	db	"j",0
_3274:
	db	"recordlen",0
	align	4
_3271:
	dd	1
	dd	_987
	dd	2
	dd	_2142
	dd	_3058
	dd	-4
	dd	2
	dd	_873
	dd	_819
	dd	-8
	dd	2
	dd	_1085
	dd	_805
	dd	-12
	dd	2
	dd	_3272
	dd	_805
	dd	-16
	dd	2
	dd	_805
	dd	_805
	dd	-20
	dd	2
	dd	_3273
	dd	_805
	dd	-24
	dd	2
	dd	_2293
	dd	_2294
	dd	-28
	dd	2
	dd	_2593
	dd	_970
	dd	-32
	dd	2
	dd	_3274
	dd	_805
	dd	-36
	dd	2
	dd	_2429
	dd	_915
	dd	-40
	dd	0
	align	4
_3203:
	dd	_3083
	dd	159
	dd	3
	align	4
_3206:
	dd	_3083
	dd	160
	dd	3
	align	4
_3208:
	dd	_3083
	dd	161
	dd	3
_3209:
	db	":NPCType",0
	align	4
_3211:
	dd	_3083
	dd	164
	dd	3
	align	4
_3222:
	dd	3
	dd	0
	dd	0
	align	4
_3214:
	dd	_3083
	dd	165
	dd	4
	align	4
_3223:
	dd	_3083
	dd	173
	dd	3
	align	4
_3224:
	dd	_3083
	dd	174
	dd	3
	align	4
_3225:
	dd	_3083
	dd	176
	dd	3
	align	4
_3226:
	dd	_3083
	dd	177
	dd	3
	align	4
_119:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	65,114,114,97,121,76,101,110,58,32
	align	4
_3227:
	dd	_3083
	dd	181
	dd	3
	align	4
_3229:
	dd	_3083
	dd	182
	dd	3
	align	4
_120:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	82,101,99,111,114,100,76,101,110,58,32
	align	4
_3230:
	dd	_3083
	dd	183
	dd	3
_3231:
	db	"i",0
	align	4
_3233:
	dd	_3083
	dd	185
	dd	3
	align	4
_3261:
	dd	3
	dd	0
	dd	0
	align	4
_3236:
	dd	_3083
	dd	186
	dd	4
	align	4
_3239:
	dd	_3083
	dd	187
	dd	4
	align	4
_3247:
	dd	3
	dd	0
	dd	0
	align	4
_3242:
	dd	_3083
	dd	188
	dd	5
	align	4
_3248:
	dd	_3083
	dd	191
	dd	4
	align	4
_3260:
	dd	3
	dd	0
	dd	0
	align	4
_3254:
	dd	_3083
	dd	191
	dd	29
	align	4
_3262:
	dd	_3083
	dd	194
	dd	3
	align	4
_3270:
	dd	_3083
	dd	195
	dd	3
_3293:
	db	"npcd",0
_3294:
	db	"value",0
	align	4
_3292:
	dd	1
	dd	_989
	dd	2
	dd	_3293
	dd	_3024
	dd	-4
	dd	2
	dd	_828
	dd	_805
	dd	-8
	dd	2
	dd	_3294
	dd	_805
	dd	-12
	dd	0
	align	4
_3275:
	dd	_3083
	dd	202
	dd	5
	align	4
_3288:
	dd	3
	dd	0
	dd	0
	align	4
_3281:
	dd	_3083
	dd	204
	dd	4
	align	4
_3291:
	dd	3
	dd	0
	dd	0
	align	4
_3290:
	dd	_3083
	dd	207
	dd	6
	align	4
_128:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	32,118,97,108,117,101,61
	align	4
_127:
	dd	_bbStringClass
	dd	2147483647
	dd	47
	dw	65,116,116,101,109,112,116,32,116,111,32,119,114,105,116,101
	dw	32,78,80,67,32,100,97,116,97,32,111,117,116,45,111,102
	dw	45,114,97,110,103,101,46,32,111,102,102,115,101,116,61
	align	4
_3418:
	dd	1
	dd	_991
	dd	2
	dd	_2142
	dd	_3058
	dd	-4
	dd	2
	dd	_873
	dd	_819
	dd	-8
	dd	2
	dd	_805
	dd	_805
	dd	-12
	dd	2
	dd	_2293
	dd	_2294
	dd	-16
	dd	2
	dd	_2593
	dd	_968
	dd	-20
	dd	0
	align	4
_3295:
	dd	_3083
	dd	213
	dd	3
	align	4
_3297:
	dd	_3083
	dd	214
	dd	3
	align	4
_3299:
	dd	_3083
	dd	216
	dd	3
	align	4
_3303:
	dd	_3083
	dd	217
	dd	3
	align	4
_3304:
	dd	_3083
	dd	218
	dd	3
	align	4
_3305:
	dd	_3083
	dd	219
	dd	3
_3306:
	db	":NPCInst",0
	align	4
_3308:
	dd	_3083
	dd	220
	dd	3
	align	4
_3329:
	dd	3
	dd	0
	dd	0
	align	4
_3310:
	dd	_3083
	dd	221
	dd	4
	align	4
_3322:
	dd	3
	dd	0
	dd	0
	align	4
_3314:
	dd	_3083
	dd	221
	dd	26
	align	4
_3323:
	dd	_3083
	dd	222
	dd	4
	align	4
_3330:
	dd	_3083
	dd	224
	dd	3
	align	4
_3338:
	dd	3
	dd	0
	dd	0
	align	4
_3332:
	dd	_3083
	dd	225
	dd	4
	align	4
_3339:
	dd	_3083
	dd	227
	dd	3
	align	4
_3347:
	dd	3
	dd	0
	dd	0
	align	4
_3341:
	dd	_3083
	dd	228
	dd	4
	align	4
_3348:
	dd	_3083
	dd	230
	dd	3
	align	4
_3356:
	dd	3
	dd	0
	dd	0
	align	4
_3350:
	dd	_3083
	dd	231
	dd	4
	align	4
_3357:
	dd	_3083
	dd	233
	dd	3
	align	4
_3365:
	dd	3
	dd	0
	dd	0
	align	4
_3359:
	dd	_3083
	dd	234
	dd	4
	align	4
_3366:
	dd	_3083
	dd	236
	dd	3
	align	4
_3408:
	dd	3
	dd	0
	dd	0
	align	4
_3368:
	dd	_3083
	dd	238
	dd	4
	align	4
_3399:
	dd	3
	dd	0
	dd	0
	align	4
_3398:
	dd	_3083
	dd	239
	dd	5
	align	4
_3407:
	dd	3
	dd	0
	dd	0
	align	4
_3401:
	dd	_3083
	dd	241
	dd	5
	align	4
_3409:
	dd	_3083
	dd	245
	dd	3
	align	4
_3417:
	dd	_3083
	dd	246
	dd	3
	align	4
_3489:
	dd	1
	dd	_993
	dd	2
	dd	_2142
	dd	_3058
	dd	-4
	dd	2
	dd	_832
	dd	_819
	dd	-8
	dd	2
	dd	_2434
	dd	_966
	dd	-12
	dd	2
	dd	_2291
	dd	_805
	dd	-16
	dd	2
	dd	_2293
	dd	_2294
	dd	-20
	dd	2
	dd	_805
	dd	_805
	dd	-24
	dd	0
	align	4
_3419:
	dd	_3083
	dd	250
	dd	3
	align	4
_3422:
	dd	3
	dd	0
	dd	0
	align	4
_3421:
	dd	_3083
	dd	250
	dd	38
	align	4
_3423:
	dd	_3083
	dd	253
	dd	3
	align	4
_3425:
	dd	_3083
	dd	254
	dd	3
	align	4
_3427:
	dd	_3083
	dd	256
	dd	3
	align	4
_3428:
	dd	_3083
	dd	258
	dd	3
	align	4
_3429:
	dd	_3083
	dd	260
	dd	3
	align	4
_3450:
	dd	3
	dd	0
	dd	0
	align	4
_3431:
	dd	_3083
	dd	261
	dd	4
	align	4
_3443:
	dd	3
	dd	0
	dd	0
	align	4
_3435:
	dd	_3083
	dd	261
	dd	28
	align	4
_3444:
	dd	_3083
	dd	262
	dd	4
	align	4
_3451:
	dd	_3083
	dd	264
	dd	3
	align	4
_3459:
	dd	3
	dd	0
	dd	0
	align	4
_3453:
	dd	_3083
	dd	265
	dd	4
	align	4
_3460:
	dd	_3083
	dd	267
	dd	3
	align	4
_3487:
	dd	3
	dd	0
	dd	0
	align	4
_3462:
	dd	_3083
	dd	268
	dd	4
	align	4
_3471:
	dd	_3083
	dd	269
	dd	4
	align	4
_3486:
	dd	3
	dd	0
	dd	0
	align	4
_3480:
	dd	_3083
	dd	270
	dd	5
	align	4
_3488:
	dd	_3083
	dd	274
	dd	3
_3586:
	db	"hasheader",0
_3587:
	db	"stupid",0
_3588:
	db	"[]b",0
	align	4
_3585:
	dd	1
	dd	_995
	dd	2
	dd	_2142
	dd	_3058
	dd	-4
	dd	2
	dd	_832
	dd	_819
	dd	-8
	dd	2
	dd	_2434
	dd	_975
	dd	-12
	dd	2
	dd	_3586
	dd	_805
	dd	-16
	dd	2
	dd	_2293
	dd	_2294
	dd	-20
	dd	2
	dd	_805
	dd	_805
	dd	-24
	dd	2
	dd	_3587
	dd	_3588
	dd	-28
	dd	0
	align	4
_3490:
	dd	_3083
	dd	278
	dd	3
	align	4
_3492:
	dd	_3083
	dd	279
	dd	3
	align	4
_3494:
	dd	_3083
	dd	280
	dd	3
	align	4
_3496:
	dd	_3083
	dd	283
	dd	3
	align	4
_3500:
	dd	3
	dd	0
	dd	0
	align	4
_3498:
	dd	_3083
	dd	284
	dd	4
	align	4
_156:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	99,111,117,108,100,110,39,116,32,108,111,97,100,32
	align	4
_3499:
	dd	_3083
	dd	285
	dd	4
	align	4
_3501:
	dd	_3083
	dd	289
	dd	3
	align	4
_3502:
	dd	_3083
	dd	294
	dd	4
_3503:
	db	"b",0
	align	4
_3505:
	dd	_3083
	dd	296
	dd	4
	align	4
_3512:
	dd	3
	dd	0
	dd	0
	align	4
_3508:
	dd	_3083
	dd	297
	dd	5
	align	4
_3513:
	dd	_3083
	dd	302
	dd	3
	align	4
_3547:
	dd	3
	dd	0
	dd	0
	align	4
_3515:
	dd	_3083
	dd	303
	dd	4
	align	4
_3527:
	dd	3
	dd	0
	dd	0
	align	4
_3519:
	dd	_3083
	dd	303
	dd	28
	align	4
_3528:
	dd	_3083
	dd	304
	dd	4
	align	4
_3534:
	dd	_3083
	dd	305
	dd	4
	align	4
_3546:
	dd	3
	dd	0
	dd	0
	align	4
_3540:
	dd	_3083
	dd	306
	dd	5
	align	4
_3548:
	dd	_3083
	dd	309
	dd	3
	align	4
_3556:
	dd	3
	dd	0
	dd	0
	align	4
_3550:
	dd	_3083
	dd	310
	dd	4
	align	4
_3557:
	dd	_3083
	dd	312
	dd	3
	align	4
_3565:
	dd	3
	dd	0
	dd	0
	align	4
_3559:
	dd	_3083
	dd	313
	dd	4
	align	4
_3566:
	dd	_3083
	dd	315
	dd	3
	align	4
_3574:
	dd	3
	dd	0
	dd	0
	align	4
_3568:
	dd	_3083
	dd	316
	dd	4
	align	4
_3575:
	dd	_3083
	dd	318
	dd	3
	align	4
_3583:
	dd	3
	dd	0
	dd	0
	align	4
_3577:
	dd	_3083
	dd	319
	dd	4
	align	4
_3584:
	dd	_3083
	dd	322
	dd	3
_3597:
	db	"layer",0
	align	4
_3596:
	dd	1
	dd	_997
	dd	2
	dd	_3597
	dd	_805
	dd	-4
	dd	0
	align	4
_3589:
	dd	_3083
	dd	336
	dd	3
	align	4
_3592:
	dd	3
	dd	0
	dd	0
	align	4
_3591:
	dd	_3083
	dd	337
	dd	4
	align	4
_3595:
	dd	3
	dd	0
	dd	0
	align	4
_3594:
	dd	_3083
	dd	339
	dd	4
_3649:
	db	"tileset",0
	align	4
_3648:
	dd	1
	dd	_998
	dd	2
	dd	_2142
	dd	_3058
	dd	-4
	dd	2
	dd	_805
	dd	_805
	dd	-8
	dd	2
	dd	_3273
	dd	_805
	dd	-12
	dd	2
	dd	_3649
	dd	_805
	dd	-16
	dd	0
	align	4
_3598:
	dd	_3083
	dd	345
	dd	3
	align	4
_3601:
	dd	_3083
	dd	346
	dd	3
	align	4
_3603:
	dd	_3083
	dd	348
	dd	3
	align	4
_3634:
	dd	3
	dd	0
	dd	0
	align	4
_3608:
	dd	_3083
	dd	349
	dd	4
	align	4
_3614:
	dd	_3083
	dd	350
	dd	4
	align	4
_3617:
	dd	3
	dd	0
	dd	0
	align	4
_3616:
	dd	_3083
	dd	351
	dd	5
	align	4
_3625:
	dd	3
	dd	0
	dd	0
	align	4
_3619:
	dd	_3083
	dd	353
	dd	5
	align	4
_3626:
	dd	_3083
	dd	355
	dd	4
	align	4
_3633:
	dd	_3083
	dd	356
	dd	4
	align	4
_178:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	82,101,97,100,32,84,105,108,101,115,101,116,58,32
	align	4
_3635:
	dd	_3083
	dd	372
	dd	4
	align	4
_3647:
	dd	3
	dd	0
	dd	2
	dd	_2759
	dd	_805
	dd	-20
	dd	0
	align	4
_3641:
	dd	_3083
	dd	373
	dd	5
	align	4
_183:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	93,32,61,32
	align	4
_182:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	71,77,65,80,91
_3665:
	db	"nameread",0
	align	4
_3664:
	dd	1
	dd	_999
	dd	2
	dd	_2954
	dd	_805
	dd	-4
	dd	2
	dd	_3665
	dd	_915
	dd	-8
	dd	2
	dd	_2759
	dd	_915
	dd	-12
	dd	2
	dd	_1020
	dd	_819
	dd	-16
	dd	0
	align	4
_3650:
	dd	_3083
	dd	405
	dd	3
_3651:
	db	"i",0
	align	4
_3653:
	dd	_3083
	dd	406
	dd	3
	align	4
_184:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	46,109,110
	align	4
_3656:
	dd	_3083
	dd	408
	dd	3
_3657:
	db	"i",0
	align	4
_3661:
	dd	_3083
	dd	412
	dd	4
	align	4
_3663:
	dd	_3083
	dd	414
	dd	3
_3758:
	db	"numlayers",0
_3759:
	db	"layers",0
	align	4
_3757:
	dd	1
	dd	_1001
	dd	2
	dd	_832
	dd	_819
	dd	-12
	dd	2
	dd	_2730
	dd	_2294
	dd	-16
	dd	2
	dd	_3758
	dd	_805
	dd	-20
	dd	2
	dd	_805
	dd	_805
	dd	-24
	dd	2
	dd	_984
	dd	_805
	dd	-28
	dd	2
	dd	_985
	dd	_805
	dd	-32
	dd	2
	dd	_921
	dd	_1017
	dd	-4
	dd	2
	dd	_922
	dd	_1017
	dd	-8
	dd	2
	dd	_3759
	dd	_977
	dd	-36
	dd	0
	align	4
_3666:
	dd	_3083
	dd	421
	dd	3
	align	4
_3668:
	dd	_3083
	dd	422
	dd	3
	align	4
_3673:
	dd	_3083
	dd	428
	dd	3
	align	4
_185:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	82,101,97,100,105,110,103,58,32
	align	4
_3674:
	dd	_3083
	dd	429
	dd	3
	align	4
_3675:
	dd	_3083
	dd	430
	dd	3
	align	4
_3678:
	dd	3
	dd	0
	dd	0
	align	4
_3677:
	dd	_3083
	dd	431
	dd	4
	align	4
_3679:
	dd	_3083
	dd	434
	dd	3
	align	4
_3680:
	dd	_3083
	dd	435
	dd	3
	align	4
_3682:
	dd	_3083
	dd	436
	dd	3
	align	4
_3683:
	dd	_3083
	dd	438
	dd	3
	align	4
_3685:
	dd	_3083
	dd	439
	dd	3
	align	4
_3686:
	dd	_3083
	dd	440
	dd	3
	align	4
_187:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	32,72,58,32
	align	4
_186:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	82,101,97,100,32,83,105,122,101,32,87,58,32
	align	4
_3687:
	dd	_3083
	dd	441
	dd	3
	align	4
_3688:
	dd	_3083
	dd	442
	dd	3
	align	4
_3693:
	dd	3
	dd	0
	dd	0
	align	4
_3692:
	dd	_3083
	dd	446
	dd	4
	align	4
_3694:
	dd	_3083
	dd	448
	dd	3
_3695:
	db	":TileMap",0
	align	4
_3697:
	dd	_3083
	dd	451
	dd	3
	align	4
_3698:
	dd	_3083
	dd	452
	dd	3
	align	4
_3754:
	dd	3
	dd	0
	dd	2
	dd	_2737
	dd	_915
	dd	-40
	dd	0
	align	4
_3701:
	dd	_3083
	dd	454
	dd	4
	align	4
_3709:
	dd	_3083
	dd	455
	dd	4
_3710:
	db	"i",0
	align	4
_3712:
	dd	_3083
	dd	456
	dd	4
	align	4
_3722:
	dd	_3083
	dd	457
	dd	4
	align	4
_3728:
	dd	_3083
	dd	458
	dd	4
	align	4
_3734:
	dd	_3083
	dd	459
	dd	4
	align	4
_3740:
	dd	_3083
	dd	460
	dd	4
	align	4
_3753:
	dd	3
	dd	0
	dd	2
	dd	_2954
	dd	_805
	dd	-44
	dd	0
	align	4
_3744:
	dd	_3083
	dd	461
	dd	5
	align	4
_3755:
	dd	_3083
	dd	467
	dd	3
	align	4
_3756:
	dd	_3083
	dd	468
	dd	3
_3763:
	db	":TileMap",0
	align	4
_3762:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3763
	dd	-4
	dd	0
	align	4
_3761:
	dd	3
	dd	0
	dd	0
_3771:
	db	":ZoneMap",0
	align	4
_3770:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3771
	dd	-4
	dd	0
	align	4
_3769:
	dd	3
	dd	0
	dd	0
	align	4
_3781:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_1011
	dd	-4
	dd	0
_3778:
	db	"i",0
	align	4
_3780:
	dd	3
	dd	0
	dd	0
_3791:
	db	":Door",0
	align	4
_3790:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3791
	dd	-4
	dd	0
_3787:
	db	"i",0
	align	4
_3789:
	dd	3
	dd	0
	dd	0
_3797:
	db	":DoorLink",0
	align	4
_3796:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3797
	dd	-4
	dd	0
	align	4
_3795:
	dd	3
	dd	0
	dd	0
_3802:
	db	":MouseInfo",0
	align	4
_3801:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_3802
	dd	-4
	dd	0
	align	4
_3800:
	dd	3
	dd	0
	dd	0
	align	4
_3817:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_1222
	dd	-4
	dd	0
	align	4
_3816:
	dd	3
	dd	0
	dd	0
_4034:
	db	"xw",0
_4035:
	db	"yw",0
_4036:
	db	"asets",0
_4037:
	db	"aperset",0
_4038:
	db	"asoff",0
_4039:
	db	"azoom",0
_4040:
	db	"ufileset",0
_4041:
	db	"ufullset",0
_4042:
	db	"cursor_start",0
_4043:
	db	"cursor_top",0
_4044:
	db	"pl",0
_4045:
	db	"wp",0
_4046:
	db	"po",0
	align	4
_4033:
	dd	1
	dd	_1073
	dd	2
	dd	_2142
	dd	_1222
	dd	-4
	dd	2
	dd	_4034
	dd	_805
	dd	-8
	dd	2
	dd	_4035
	dd	_805
	dd	-12
	dd	2
	dd	_4036
	dd	_805
	dd	-16
	dd	2
	dd	_4037
	dd	_805
	dd	-20
	dd	2
	dd	_4038
	dd	_805
	dd	-24
	dd	2
	dd	_4039
	dd	_805
	dd	-28
	dd	2
	dd	_4040
	dd	_805
	dd	-32
	dd	2
	dd	_4041
	dd	_805
	dd	-36
	dd	2
	dd	_4042
	dd	_805
	dd	-40
	dd	2
	dd	_4043
	dd	_805
	dd	-44
	dd	2
	dd	_1017
	dd	_1042
	dd	-48
	dd	2
	dd	_4044
	dd	_915
	dd	-52
	dd	2
	dd	_4045
	dd	_915
	dd	-56
	dd	2
	dd	_4046
	dd	_915
	dd	-60
	dd	0
	align	4
_3839:
	dd	_3083
	dd	560
	dd	3
_3840:
	db	":SpriteSet",0
	align	4
_3842:
	dd	_3083
	dd	561
	dd	3
	align	4
_3850:
	dd	_3083
	dd	562
	dd	3
	align	4
_3854:
	dd	_3083
	dd	563
	dd	3
	align	4
_194:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	46,112,116
	align	4
_3864:
	dd	_3083
	dd	564
	dd	3
	align	4
_3868:
	dd	_3083
	dd	565
	dd	3
	align	4
_3872:
	dd	_3083
	dd	566
	dd	3
	align	4
_3876:
	dd	_3083
	dd	567
	dd	3
	align	4
_3880:
	dd	_3083
	dd	568
	dd	3
	align	4
_3888:
	dd	_3083
	dd	569
	dd	3
	align	4
_3896:
	dd	_3083
	dd	570
	dd	3
	align	4
_3900:
	dd	_3083
	dd	571
	dd	3
	align	4
_3906:
	dd	_3083
	dd	572
	dd	3
	align	4
_3910:
	dd	_3083
	dd	574
	dd	3
	align	4
_3914:
	dd	_3083
	dd	575
	dd	3
	align	4
_3918:
	dd	_3083
	dd	576
	dd	3
	align	4
_3924:
	dd	_3083
	dd	577
	dd	3
	align	4
_3930:
	dd	_3083
	dd	578
	dd	3
	align	4
_3934:
	dd	_3083
	dd	579
	dd	3
	align	4
_3938:
	dd	_3083
	dd	581
	dd	3
	align	4
_3942:
	dd	_3083
	dd	582
	dd	3
	align	4
_3946:
	dd	_3083
	dd	583
	dd	3
	align	4
_3950:
	dd	_3083
	dd	584
	dd	3
	align	4
_3954:
	dd	_3083
	dd	585
	dd	3
	align	4
_3958:
	dd	_3083
	dd	586
	dd	3
	align	4
_3962:
	dd	_3083
	dd	587
	dd	3
	align	4
_3970:
	dd	_3083
	dd	588
	dd	3
	align	4
_3976:
	dd	_3083
	dd	589
	dd	3
	align	4
_3980:
	dd	_3083
	dd	590
	dd	3
	align	4
_3984:
	dd	_3083
	dd	592
	dd	3
_3985:
	db	"i",0
	align	4
_3993:
	dd	_3083
	dd	593
	dd	3
	align	4
_4001:
	dd	_3083
	dd	594
	dd	3
_4002:
	db	"i",0
	align	4
_4006:
	dd	_3083
	dd	595
	dd	3
	align	4
_4014:
	dd	_3083
	dd	596
	dd	3
_4015:
	db	"i",0
	align	4
_4017:
	dd	_3083
	dd	597
	dd	3
	align	4
_4025:
	dd	_3083
	dd	598
	dd	4
	align	4
_4030:
	dd	_3083
	dd	600
	dd	3
	align	4
_4064:
	dd	1
	dd	_1075
	dd	2
	dd	_2142
	dd	_1222
	dd	-4
	dd	0
	align	4
_4047:
	dd	_3083
	dd	604
	dd	3
_4063:
	db	"checkfile",0
	align	4
_4062:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-8
	dd	2
	dd	_4063
	dd	_805
	dd	-12
	dd	0
	align	4
_4053:
	dd	_3083
	dd	605
	dd	3
	align	4
_198:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	76,111,97,100,105,110,103,32,115,112,114,105,116,101,115,58
	dw	32
	align	4
_4054:
	dd	_3083
	dd	606
	dd	4
	align	4
_4058:
	dd	_3083
	dd	607
	dd	3
	align	4
_4061:
	dd	3
	dd	0
	dd	0
	align	4
_4060:
	dd	_3083
	dd	608
	dd	4
_4175:
	db	"pixels",0
	align	4
_4174:
	dd	1
	dd	_1076
	dd	2
	dd	_2142
	dd	_1222
	dd	-4
	dd	2
	dd	_3273
	dd	_805
	dd	-8
	dd	2
	dd	_805
	dd	_805
	dd	-12
	dd	2
	dd	_4175
	dd	_1080
	dd	-16
	dd	0
	align	4
_4065:
	dd	_3083
	dd	615
	dd	3
	align	4
_4067:
	dd	_3083
	dd	616
	dd	3
	align	4
_4069:
	dd	_3083
	dd	618
	dd	3
	align	4
_4172:
	dd	3
	dd	0
	dd	0
	align	4
_4073:
	dd	_3083
	dd	620
	dd	4
	align	4
_199:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	76,111,97,100,105,110,103,32,115,101,116,58,32
	align	4
_4076:
	dd	_3083
	dd	623
	dd	4
	align	4
_4087:
	dd	_3083
	dd	624
	dd	4
	align	4
_4097:
	dd	_3083
	dd	630
	dd	4
	align	4
_4171:
	dd	3
	dd	0
	dd	0
	align	4
_4102:
	dd	_3083
	dd	631
	dd	5
	align	4
_4116:
	dd	_3083
	dd	632
	dd	5
	align	4
_4150:
	dd	_3083
	dd	633
	dd	5
	align	4
_4154:
	dd	_3083
	dd	634
	dd	5
	align	4
_4170:
	dd	3
	dd	0
	dd	0
	align	4
_4166:
	dd	_3083
	dd	636
	dd	6
	align	4
_203:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	78,117,109,115,101,116,115,58,32
	align	4
_4169:
	dd	_3083
	dd	637
	dd	6
	align	4
_4173:
	dd	_3083
	dd	647
	dd	3
	align	4
_4184:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_944
	dd	-4
	dd	0
_4178:
	db	"i",0
	align	4
_4183:
	dd	3
	dd	0
	dd	0
_4237:
	db	"ww",0
_4238:
	db	"hh",0
_4239:
	db	"pm",0
	align	4
_4236:
	dd	1
	dd	_1089
	dd	2
	dd	_2142
	dd	_944
	dd	-4
	dd	2
	dd	_4237
	dd	_805
	dd	-8
	dd	2
	dd	_4238
	dd	_805
	dd	-12
	dd	2
	dd	_4239
	dd	_1084
	dd	-16
	dd	0
	align	4
_4198:
	dd	_3083
	dd	679
	dd	3
	align	4
_4202:
	dd	_3083
	dd	680
	dd	3
	align	4
_4206:
	dd	_3083
	dd	681
	dd	3
	align	4
_4218:
	dd	_3083
	dd	682
	dd	3
_4219:
	db	"i",0
	align	4
_4225:
	dd	_3083
	dd	683
	dd	3
	align	4
_4233:
	dd	_3083
	dd	684
	dd	3
_4334:
	db	"sset",0
	align	4
_4333:
	dd	1
	dd	_1090
	dd	2
	dd	_2142
	dd	_944
	dd	-4
	dd	2
	dd	_4334
	dd	_805
	dd	-8
	dd	0
	align	4
_4240:
	dd	_3083
	dd	689
	dd	3
	align	4
_4266:
	dd	3
	dd	0
	dd	2
	dd	_4239
	dd	_1084
	dd	-12
	dd	0
	align	4
_4247:
	dd	_3083
	dd	693
	dd	5
	align	4
_4255:
	dd	_3083
	dd	694
	dd	5
_4256:
	db	"i",0
	align	4
_4258:
	dd	_3083
	dd	695
	dd	5
_4287:
	db	"ph",0
	align	4
_4286:
	dd	3
	dd	0
	dd	2
	dd	_4287
	dd	_1084
	dd	-16
	dd	0
	align	4
_4267:
	dd	_3083
	dd	699
	dd	5
	align	4
_4275:
	dd	_3083
	dd	700
	dd	5
_4276:
	db	"i",0
	align	4
_4278:
	dd	_3083
	dd	701
	dd	5
_4308:
	db	"pe",0
	align	4
_4307:
	dd	3
	dd	0
	dd	2
	dd	_4308
	dd	_1084
	dd	-20
	dd	0
	align	4
_4288:
	dd	_3083
	dd	705
	dd	5
	align	4
_4296:
	dd	_3083
	dd	706
	dd	5
_4297:
	db	"i",0
	align	4
_4299:
	dd	_3083
	dd	707
	dd	5
_4329:
	db	"pem",0
	align	4
_4328:
	dd	3
	dd	0
	dd	2
	dd	_4329
	dd	_1084
	dd	-24
	dd	0
	align	4
_4309:
	dd	_3083
	dd	711
	dd	5
	align	4
_4317:
	dd	_3083
	dd	712
	dd	5
_4318:
	db	"i",0
	align	4
_4320:
	dd	_3083
	dd	713
	dd	5
	align	4
_4330:
	dd	_3083
	dd	717
	dd	3
_4338:
	db	":SpriteSet",0
	align	4
_4337:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_4338
	dd	-4
	dd	0
	align	4
_4336:
	dd	3
	dd	0
	dd	0
_4376:
	db	"numf",0
	align	4
_4375:
	dd	1
	dd	_1098
	dd	2
	dd	_2142
	dd	_4338
	dd	-4
	dd	2
	dd	_4376
	dd	_805
	dd	-8
	dd	2
	dd	_4334
	dd	_805
	dd	-12
	dd	2
	dd	_2293
	dd	_1096
	dd	-16
	dd	0
	align	4
_4342:
	dd	_3083
	dd	735
	dd	3
	align	4
_4346:
	dd	_3083
	dd	736
	dd	3
_4347:
	db	":Frame",0
	align	4
_4349:
	dd	_3083
	dd	737
	dd	3
	align	4
_4366:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-20
	dd	0
	align	4
_4353:
	dd	_3083
	dd	739
	dd	4
	align	4
_4361:
	dd	_3083
	dd	740
	dd	4
	align	4
_4367:
	dd	_3083
	dd	743
	dd	3
	align	4
_4392:
	dd	1
	dd	_1099
	dd	2
	dd	_2142
	dd	_4338
	dd	-4
	dd	2
	dd	_4376
	dd	_805
	dd	-8
	dd	2
	dd	_2293
	dd	_1096
	dd	-12
	dd	0
	align	4
_4377:
	dd	_3083
	dd	750
	dd	3
	align	4
_4381:
	dd	_3083
	dd	751
	dd	3
_4382:
	db	":Frame",0
	align	4
_4384:
	dd	_3083
	dd	758
	dd	3
_4517:
	db	"rec",0
_4518:
	db	"setnum",0
_4519:
	db	"height",0
_4520:
	db	":frame",0
_4521:
	db	"frsize",0
_4522:
	db	"recsize",0
_4523:
	db	"seek",0
_4524:
	db	"z",0
	align	4
_4516:
	dd	1
	dd	_1100
	dd	2
	dd	_873
	dd	_819
	dd	-8
	dd	2
	dd	_4517
	dd	_805
	dd	-12
	dd	2
	dd	_1113
	dd	_805
	dd	-16
	dd	2
	dd	_4518
	dd	_805
	dd	-20
	dd	2
	dd	_984
	dd	_805
	dd	-24
	dd	2
	dd	_4519
	dd	_805
	dd	-28
	dd	2
	dd	_4046
	dd	_805
	dd	-32
	dd	2
	dd	_2371
	dd	_4520
	dd	-36
	dd	2
	dd	_4521
	dd	_805
	dd	-40
	dd	2
	dd	_4522
	dd	_805
	dd	-44
	dd	2
	dd	_2293
	dd	_2294
	dd	-48
	dd	2
	dd	_4523
	dd	_805
	dd	-52
	dd	2
	dd	_805
	dd	_805
	dd	-56
	dd	2
	dd	_919
	dd	_805
	dd	-60
	dd	2
	dd	_920
	dd	_805
	dd	-64
	dd	2
	dd	_4524
	dd	_909
	dd	-4
	dd	0
	align	4
_4393:
	dd	_3083
	dd	764
	dd	3
	align	4
_4395:
	dd	_3083
	dd	767
	dd	3
	align	4
_4397:
	dd	_3083
	dd	768
	dd	3
	align	4
_4399:
	dd	_3083
	dd	771
	dd	3
	align	4
_4403:
	dd	3
	dd	0
	dd	0
	align	4
_4401:
	dd	_3083
	dd	772
	dd	4
	align	4
_207:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	102,114,97,109,101,95,108,111,97,100,58,32,99,97,110,39
	dw	116,32,114,101,97,100,32
	align	4
_4402:
	dd	_3083
	dd	773
	dd	4
	align	4
_4404:
	dd	_3083
	dd	777
	dd	3
	align	4
_4406:
	dd	_3083
	dd	780
	dd	3
	align	4
_4407:
	dd	_3083
	dd	781
	dd	3
	align	4
_4411:
	dd	3
	dd	0
	dd	0
	align	4
_4409:
	dd	_3083
	dd	782
	dd	4
	align	4
_208:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	115,112,114,105,116,101,115,58,32,99,111,117,108,100,32,110
	dw	111,116,32,111,112,101,110,32
	align	4
_4410:
	dd	_3083
	dd	783
	dd	4
	align	4
_4412:
	dd	_3083
	dd	787
	dd	3
	align	4
_4415:
	dd	_3083
	dd	795
	dd	3
	align	4
_4417:
	dd	_3083
	dd	797
	dd	3
	align	4
_4420:
	dd	3
	dd	0
	dd	0
	align	4
_4419:
	dd	_3083
	dd	798
	dd	4
	align	4
_4423:
	dd	3
	dd	0
	dd	0
	align	4
_4422:
	dd	_3083
	dd	800
	dd	4
	align	4
_4424:
	dd	_3083
	dd	803
	dd	3
	align	4
_4429:
	dd	3
	dd	0
	dd	0
	align	4
_4426:
	dd	_3083
	dd	804
	dd	4
	align	4
_209:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	69,110,100,32,111,102,32,76,105,110,101
	align	4
_4427:
	dd	_3083
	dd	805
	dd	4
	align	4
_4428:
	dd	_3083
	dd	806
	dd	4
	align	4
_4437:
	dd	3
	dd	0
	dd	0
	align	4
_4431:
	dd	_3083
	dd	807
	dd	8
	align	4
_4436:
	dd	3
	dd	0
	dd	0
	align	4
_4433:
	dd	_3083
	dd	808
	dd	4
	align	4
_4434:
	dd	_3083
	dd	809
	dd	4
	align	4
_4435:
	dd	_3083
	dd	810
	dd	4
	align	4
_4438:
	dd	_3083
	dd	812
	dd	3
	align	4
_4443:
	dd	_3083
	dd	818
	dd	5
	align	4
_4513:
	dd	3
	dd	0
	dd	0
	align	4
_4446:
	dd	_3083
	dd	819
	dd	6
	align	4
_4512:
	dd	3
	dd	0
	dd	0
	align	4
_4449:
	dd	_3083
	dd	821
	dd	7
	align	4
_4453:
	dd	3
	dd	0
	dd	0
	align	4
_4451:
	dd	_3083
	dd	822
	dd	8
	align	4
_4452:
	dd	_3083
	dd	823
	dd	8
	align	4
_4454:
	dd	_3083
	dd	825
	dd	7
	align	4
_4455:
	dd	_3083
	dd	830
	dd	7
	align	4
_4464:
	dd	_3083
	dd	831
	dd	7
	align	4
_4483:
	dd	_3083
	dd	832
	dd	7
	align	4
_4484:
	dd	_3083
	dd	836
	dd	7
	align	4
_4493:
	dd	_3083
	dd	837
	dd	7
	align	4
_4514:
	dd	_3083
	dd	846
	dd	3
	align	4
_4515:
	dd	_3083
	dd	848
	dd	3
_4640:
	db	"pic",0
_4641:
	db	"picoff",0
_4642:
	db	"sw",0
_4643:
	db	"sh",0
_4644:
	db	"hspr",0
_4645:
	db	"dspr",0
_4646:
	db	"nib",0
_4647:
	db	"spix",0
_4648:
	db	"row",0
	align	4
_4639:
	dd	1
	dd	_1102
	dd	2
	dd	_2142
	dd	_4338
	dd	-4
	dd	2
	dd	_4640
	dd	_915
	dd	-8
	dd	2
	dd	_4641
	dd	_805
	dd	-12
	dd	2
	dd	_4642
	dd	_805
	dd	-16
	dd	2
	dd	_4643
	dd	_805
	dd	-20
	dd	2
	dd	_4644
	dd	_944
	dd	-24
	dd	2
	dd	_4645
	dd	_805
	dd	-28
	dd	2
	dd	_4646
	dd	_805
	dd	-32
	dd	2
	dd	_805
	dd	_805
	dd	-36
	dd	2
	dd	_4647
	dd	_805
	dd	-40
	dd	2
	dd	_4648
	dd	_805
	dd	-44
	dd	2
	dd	_4239
	dd	_1084
	dd	-48
	dd	0
	align	4
_4525:
	dd	_3083
	dd	853
	dd	3
	align	4
_4527:
	dd	_3083
	dd	854
	dd	3
	align	4
_4529:
	dd	_3083
	dd	855
	dd	3
	align	4
_4531:
	dd	_3083
	dd	856
	dd	3
	align	4
_4533:
	dd	_3083
	dd	857
	dd	3
	align	4
_4535:
	dd	_3083
	dd	858
	dd	3
	align	4
_4537:
	dd	_3083
	dd	859
	dd	3
	align	4
_4539:
	dd	_3083
	dd	860
	dd	3
	align	4
_4541:
	dd	_3083
	dd	862
	dd	3
	align	4
_4544:
	dd	_3083
	dd	863
	dd	3
	align	4
_4547:
	dd	_3083
	dd	864
	dd	3
	align	4
_216:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	87,58,32
	align	4
_4548:
	dd	_3083
	dd	865
	dd	3
	align	4
_4549:
	dd	_3083
	dd	866
	dd	3
	align	4
_4550:
	dd	_3083
	dd	867
	dd	3
	align	4
_4554:
	dd	_3083
	dd	868
	dd	3
	align	4
_4558:
	dd	_3083
	dd	869
	dd	3
	align	4
_4570:
	dd	_3083
	dd	870
	dd	3
_4571:
	db	"i",0
	align	4
_4577:
	dd	_3083
	dd	871
	dd	3
	align	4
_4585:
	dd	_3083
	dd	876
	dd	3
	align	4
_4586:
	dd	_3083
	dd	877
	dd	3
	align	4
_4587:
	dd	_3083
	dd	878
	dd	3
	align	4
_4634:
	dd	3
	dd	0
	dd	0
	align	4
_4590:
	dd	_3083
	dd	879
	dd	4
	align	4
_4600:
	dd	3
	dd	0
	dd	0
	align	4
_4597:
	dd	_3083
	dd	881
	dd	6
	align	4
_4604:
	dd	3
	dd	0
	dd	0
	align	4
_4601:
	dd	_3083
	dd	883
	dd	6
	align	4
_4608:
	dd	3
	dd	0
	dd	0
	align	4
_4605:
	dd	_3083
	dd	885
	dd	6
	align	4
_4612:
	dd	3
	dd	0
	dd	0
	align	4
_4609:
	dd	_3083
	dd	887
	dd	6
	align	4
_4613:
	dd	_3083
	dd	893
	dd	4
	align	4
_4625:
	dd	_3083
	dd	894
	dd	4
	align	4
_4626:
	dd	_3083
	dd	898
	dd	4
	align	4
_4627:
	dd	_3083
	dd	899
	dd	4
	align	4
_4631:
	dd	3
	dd	0
	dd	0
	align	4
_4629:
	dd	_3083
	dd	901
	dd	5
	align	4
_4630:
	dd	_3083
	dd	902
	dd	5
	align	4
_4632:
	dd	_3083
	dd	904
	dd	4
	align	4
_4633:
	dd	_3083
	dd	905
	dd	4
	align	4
_4635:
	dd	_3083
	dd	907
	dd	3
	align	4
_221:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,112,110,103
	align	4
_220:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	84,101,115,116,95
	align	4
_4638:
	dd	_3083
	dd	908
	dd	3
_4706:
	db	"poff",0
_4707:
	db	"sbytes",0
_4708:
	db	"temp",0
	align	4
_4705:
	dd	1
	dd	_1104
	dd	2
	dd	_2142
	dd	_4338
	dd	-4
	dd	2
	dd	_4640
	dd	_915
	dd	-8
	dd	2
	dd	_4175
	dd	_1080
	dd	-12
	dd	2
	dd	_4641
	dd	_805
	dd	-16
	dd	2
	dd	_919
	dd	_805
	dd	-20
	dd	2
	dd	_920
	dd	_805
	dd	-24
	dd	2
	dd	_921
	dd	_805
	dd	-28
	dd	2
	dd	_922
	dd	_805
	dd	-32
	dd	2
	dd	_805
	dd	_805
	dd	-36
	dd	2
	dd	_4706
	dd	_805
	dd	-40
	dd	2
	dd	_2837
	dd	_805
	dd	-44
	dd	2
	dd	_4707
	dd	_805
	dd	-48
	dd	2
	dd	_4708
	dd	_805
	dd	-52
	dd	0
	align	4
_4649:
	dd	_3083
	dd	917
	dd	3
	align	4
_4651:
	dd	_3083
	dd	918
	dd	3
	align	4
_4653:
	dd	_3083
	dd	919
	dd	3
	align	4
_4655:
	dd	_3083
	dd	920
	dd	3
	align	4
_4657:
	dd	_3083
	dd	921
	dd	3
	align	4
_4659:
	dd	_3083
	dd	923
	dd	3
	align	4
_4660:
	dd	_3083
	dd	925
	dd	3
	align	4
_4661:
	dd	_3083
	dd	926
	dd	3
	align	4
_4662:
	dd	_3083
	dd	927
	dd	3
	align	4
_223:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	32,121,32
	align	4
_222:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	83,112,114,105,116,101,32,115,116,97,114,116,32,120,32
	align	4
_4663:
	dd	_3083
	dd	928
	dd	3
	align	4
_4664:
	dd	_3083
	dd	929
	dd	3
	align	4
_4665:
	dd	_3083
	dd	930
	dd	3
	align	4
_4669:
	dd	_3083
	dd	931
	dd	3
	align	4
_4673:
	dd	_3083
	dd	932
	dd	3
	align	4
_4674:
	dd	_3083
	dd	933
	dd	3
	align	4
_224:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	83,98,121,116,101,115,58,32
	align	4
_4675:
	dd	_3083
	dd	934
	dd	3
	align	4
_4703:
	dd	3
	dd	0
	dd	0
	align	4
_4678:
	dd	_3083
	dd	938
	dd	4
	align	4
_4679:
	dd	_3083
	dd	939
	dd	4
	align	4
_4686:
	dd	3
	dd	0
	dd	0
	align	4
_4681:
	dd	_3083
	dd	940
	dd	5
	align	4
_4685:
	dd	_3083
	dd	941
	dd	5
	align	4
_4696:
	dd	3
	dd	0
	dd	0
	align	4
_4688:
	dd	_3083
	dd	943
	dd	5
	align	4
_4694:
	dd	_3083
	dd	945
	dd	5
	align	4
_4695:
	dd	_3083
	dd	946
	dd	5
	align	4
_4697:
	dd	_3083
	dd	951
	dd	4
	align	4
_4698:
	dd	_3083
	dd	952
	dd	4
	align	4
_4702:
	dd	3
	dd	0
	dd	0
	align	4
_4700:
	dd	_3083
	dd	953
	dd	5
	align	4
_4701:
	dd	_3083
	dd	954
	dd	5
	align	4
_4704:
	dd	_3083
	dd	958
	dd	3
_4711:
	db	":TileAnimState",0
	align	4
_4710:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_4711
	dd	-4
	dd	0
	align	4
_4709:
	dd	3
	dd	0
	dd	0
_4721:
	db	":TilesetData",0
	align	4
_4720:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_4721
	dd	-4
	dd	0
_4715:
	db	":TileAnimState",0
_4717:
	db	"i",0
	align	4
_4719:
	dd	3
	dd	0
	dd	0
	align	4
_4771:
	dd	1
	dd	_1118
	dd	2
	dd	_2142
	dd	_4721
	dd	-4
	dd	2
	dd	_828
	dd	_805
	dd	-8
	dd	0
	align	4
_4731:
	dd	_3083
	dd	982
	dd	3
	align	4
_228:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,116,105,108
	align	4
_4739:
	dd	_3083
	dd	983
	dd	3
	align	4
_4749:
	dd	_3083
	dd	984
	dd	3
	align	4
_4767:
	dd	3
	dd	0
	dd	0
	align	4
_4753:
	dd	_3083
	dd	985
	dd	4
	align	4
_4761:
	dd	_3083
	dd	986
	dd	4
	align	4
_4766:
	dd	_3083
	dd	987
	dd	4
	align	4
_4770:
	dd	3
	dd	0
	dd	0
	align	4
_4769:
	dd	_3083
	dd	989
	dd	4
	align	4
_4775:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_1233
	dd	-4
	dd	0
_4772:
	db	":TilesetData",0
	align	4
_4774:
	dd	3
	dd	0
	dd	0
	align	4
_4810:
	dd	1
	dd	_1123
	dd	2
	dd	_2142
	dd	_1233
	dd	-8
	dd	0
	align	4
_4779:
	dd	_3083
	dd	1004
	dd	3
_4809:
	db	"td",0
	align	4
_4808:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-12
	dd	2
	dd	_4809
	dd	_4721
	dd	-16
	dd	2
	dd	_913
	dd	_909
	dd	-4
	dd	0
	align	4
_4785:
	dd	_3083
	dd	1005
	dd	4
	align	4
_4787:
	dd	_3083
	dd	1006
	dd	4
	align	4
_4791:
	dd	_3083
	dd	1008
	dd	5
	align	4
_4802:
	dd	_3083
	dd	1009
	dd	5
	align	4
_4813:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_2126
	dd	-4
	dd	0
	align	4
_4812:
	dd	3
	dd	0
	dd	0
	align	4
_4872:
	dd	1
	dd	_1073
	dd	2
	dd	_2142
	dd	_2126
	dd	-4
	dd	2
	dd	_1017
	dd	_1127
	dd	-8
	dd	0
	align	4
_4817:
	dd	_3083
	dd	1026
	dd	3
_4818:
	db	":TSFX",0
	align	4
_4822:
	dd	_3083
	dd	1028
	dd	3
_4863:
	db	"valid",0
	align	4
_4862:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-12
	dd	2
	dd	_4863
	dd	_805
	dd	-16
	dd	0
	align	4
_4828:
	dd	_3083
	dd	1030
	dd	4
	align	4
_4836:
	dd	_3083
	dd	1032
	dd	4
	align	4
_4842:
	dd	_3083
	dd	1034
	dd	4
	align	4
_4850:
	dd	3
	dd	0
	dd	0
	align	4
_4844:
	dd	_3083
	dd	1035
	dd	5
	align	4
_4861:
	dd	3
	dd	0
	dd	0
	align	4
_4852:
	dd	_3083
	dd	1037
	dd	5
	align	4
_4860:
	dd	_3083
	dd	1038
	dd	5
	align	4
_4864:
	dd	_3083
	dd	1045
	dd	3
_4877:
	db	":TSFX",0
	align	4
_4876:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_4877
	dd	-4
	dd	0
	align	4
_4875:
	dd	3
	dd	0
	dd	0
_4951:
	db	"soundbase",0
	align	4
_4950:
	dd	1
	dd	_1133
	dd	2
	dd	_2142
	dd	_4877
	dd	-4
	dd	2
	dd	_951
	dd	_805
	dd	-8
	dd	2
	dd	_4951
	dd	_819
	dd	-12
	dd	0
	align	4
_4883:
	dd	_3083
	dd	1060
	dd	3
	align	4
_4885:
	dd	_3083
	dd	1061
	dd	3
	align	4
_4889:
	dd	_3083
	dd	1063
	dd	3
	align	4
_235:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	115,102,120
	align	4
_4892:
	dd	_3083
	dd	1064
	dd	3
	align	4
_4900:
	dd	_3083
	dd	1066
	dd	3
	align	4
_236:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,109,112,51
	align	4
_4910:
	dd	3
	dd	0
	dd	0
	align	4
_4902:
	dd	_3083
	dd	1067
	dd	4
	align	4
_4936:
	dd	3
	dd	0
	dd	0
	align	4
_4912:
	dd	_3083
	dd	1068
	dd	3
	align	4
_237:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,111,103,103
	align	4
_4922:
	dd	3
	dd	0
	dd	0
	align	4
_4914:
	dd	_3083
	dd	1069
	dd	4
	align	4
_4935:
	dd	3
	dd	0
	dd	0
	align	4
_4924:
	dd	_3083
	dd	1070
	dd	3
	align	4
_238:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,119,97,118
	align	4
_4934:
	dd	3
	dd	0
	dd	0
	align	4
_4926:
	dd	_3083
	dd	1071
	dd	4
	align	4
_4937:
	dd	_3083
	dd	1074
	dd	3
	align	4
_4942:
	dd	3
	dd	0
	dd	0
	align	4
_4941:
	dd	_3083
	dd	1075
	dd	4
	align	4
_4948:
	dd	3
	dd	0
	dd	0
	align	4
_4944:
	dd	_3083
	dd	1077
	dd	4
	align	4
_239:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	76,111,97,100,101,100,32,83,111,117,110,100,58,32
	align	4
_4947:
	dd	_3083
	dd	1078
	dd	4
_4956:
	db	":TSong",0
	align	4
_4955:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_4956
	dd	-4
	dd	0
	align	4
_4954:
	dd	3
	dd	0
	dd	0
_5112:
	db	"songbase",0
	align	4
_5111:
	dd	1
	dd	_1139
	dd	2
	dd	_2142
	dd	_4956
	dd	-4
	dd	2
	dd	_951
	dd	_805
	dd	-8
	dd	2
	dd	_5112
	dd	_819
	dd	-12
	dd	0
	align	4
_4962:
	dd	_3083
	dd	1098
	dd	3
	align	4
_4964:
	dd	_3083
	dd	1099
	dd	3
	align	4
_4968:
	dd	_3083
	dd	1101
	dd	3
	align	4
_240:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	115,111,110,103
	align	4
_4971:
	dd	_3083
	dd	1102
	dd	3
	align	4
_4979:
	dd	_3083
	dd	1104
	dd	3
	align	4
_4989:
	dd	3
	dd	0
	dd	0
	align	4
_4981:
	dd	_3083
	dd	1105
	dd	4
	align	4
_5097:
	dd	3
	dd	0
	dd	0
	align	4
_4991:
	dd	_3083
	dd	1106
	dd	3
	align	4
_5001:
	dd	3
	dd	0
	dd	0
	align	4
_4993:
	dd	_3083
	dd	1107
	dd	4
	align	4
_5096:
	dd	3
	dd	0
	dd	0
	align	4
_5003:
	dd	_3083
	dd	1108
	dd	3
	align	4
_241:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,109,111,100
	align	4
_5013:
	dd	3
	dd	0
	dd	0
	align	4
_5005:
	dd	_3083
	dd	1109
	dd	4
	align	4
_5095:
	dd	3
	dd	0
	dd	0
	align	4
_5015:
	dd	_3083
	dd	1110
	dd	3
	align	4
_242:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	46,120,109
	align	4
_5025:
	dd	3
	dd	0
	dd	0
	align	4
_5017:
	dd	_3083
	dd	1111
	dd	4
	align	4
_5094:
	dd	3
	dd	0
	dd	0
	align	4
_5027:
	dd	_3083
	dd	1112
	dd	3
	align	4
_243:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,115,51,109
	align	4
_5037:
	dd	3
	dd	0
	dd	0
	align	4
_5029:
	dd	_3083
	dd	1113
	dd	4
	align	4
_5093:
	dd	3
	dd	0
	dd	0
	align	4
_5039:
	dd	_3083
	dd	1114
	dd	3
	align	4
_244:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	46,105,116
	align	4
_5049:
	dd	3
	dd	0
	dd	0
	align	4
_5041:
	dd	_3083
	dd	1115
	dd	4
	align	4
_5092:
	dd	3
	dd	0
	dd	0
	align	4
_5051:
	dd	_3083
	dd	1116
	dd	3
	align	4
_245:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,109,105,100
	align	4
_5061:
	dd	3
	dd	0
	dd	0
	align	4
_5053:
	dd	_3083
	dd	1125
	dd	4
	align	4
_5091:
	dd	3
	dd	0
	dd	0
	align	4
_5063:
	dd	_3083
	dd	1126
	dd	3
	align	4
_246:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,98,97,109
	align	4
_5073:
	dd	3
	dd	0
	dd	0
	align	4
_5065:
	dd	_3083
	dd	1127
	dd	4
	align	4
_5090:
	dd	3
	dd	0
	dd	0
	align	4
_5075:
	dd	_3083
	dd	1128
	dd	3
	align	4
_5089:
	dd	3
	dd	0
	dd	0
	align	4
_5079:
	dd	_3083
	dd	1129
	dd	4
	align	4
_5098:
	dd	_3083
	dd	1132
	dd	3
	align	4
_5103:
	dd	3
	dd	0
	dd	0
	align	4
_5102:
	dd	_3083
	dd	1133
	dd	4
	align	4
_5109:
	dd	3
	dd	0
	dd	0
	align	4
_5105:
	dd	_3083
	dd	1135
	dd	4
	align	4
_247:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	76,111,97,100,101,100,32,83,111,110,103,58,32
	align	4
_5108:
	dd	_3083
	dd	1136
	dd	4
_5140:
	db	"prefixnum",0
_5141:
	db	"songd",0
	align	4
_5139:
	dd	1
	dd	_1140
	dd	2
	dd	_2142
	dd	_4956
	dd	-4
	dd	2
	dd	_5140
	dd	_805
	dd	-8
	dd	2
	dd	_1113
	dd	_805
	dd	-12
	dd	2
	dd	_5141
	dd	_915
	dd	-16
	dd	2
	dd	_1017
	dd	_819
	dd	-20
	dd	0
	align	4
_5113:
	dd	_3083
	dd	1145
	dd	3
	align	4
_5117:
	dd	_3083
	dd	1146
	dd	3
_5118:
	db	"i",0
	align	4
_5120:
	dd	_3083
	dd	1147
	dd	3
	align	4
_5122:
	dd	_3083
	dd	1148
	dd	3
	align	4
_5125:
	dd	3
	dd	0
	dd	0
	align	4
_5124:
	dd	_3083
	dd	1148
	dd	20
	align	4
_248:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	45,110,111,110,101,45
	align	4
_5126:
	dd	_3083
	dd	1149
	dd	3
	align	4
_5127:
	dd	_3083
	dd	1150
	dd	3
	align	4
_5130:
	dd	3
	dd	0
	dd	0
	align	4
_5129:
	dd	_3083
	dd	1150
	dd	25
	align	4
_249:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	32
	align	4
_5131:
	dd	_3083
	dd	1156
	dd	3
	align	4
_5144:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_2124
	dd	-4
	dd	0
	align	4
_5143:
	dd	3
	dd	0
	dd	0
	align	4
_5202:
	dd	1
	dd	_1073
	dd	2
	dd	_2142
	dd	_2124
	dd	-4
	dd	2
	dd	_1017
	dd	_1144
	dd	-8
	dd	0
	align	4
_5148:
	dd	_3083
	dd	1169
	dd	3
_5149:
	db	":TSong",0
	align	4
_5153:
	dd	_3083
	dd	1171
	dd	3
	align	4
_5193:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-12
	dd	2
	dd	_4863
	dd	_805
	dd	-16
	dd	0
	align	4
_5159:
	dd	_3083
	dd	1173
	dd	4
	align	4
_5167:
	dd	_3083
	dd	1175
	dd	4
	align	4
_5173:
	dd	_3083
	dd	1177
	dd	4
	align	4
_5181:
	dd	3
	dd	0
	dd	0
	align	4
_5175:
	dd	_3083
	dd	1178
	dd	5
	align	4
_5192:
	dd	3
	dd	0
	dd	0
	align	4
_5183:
	dd	_3083
	dd	1180
	dd	5
	align	4
_5191:
	dd	_3083
	dd	1181
	dd	5
	align	4
_5194:
	dd	_3083
	dd	1188
	dd	3
	align	4
_5206:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_2129
	dd	-4
	dd	0
_5203:
	db	":BackdropData",0
	align	4
_5205:
	dd	3
	dd	0
	dd	0
	align	4
_5248:
	dd	1
	dd	_1123
	dd	2
	dd	_2142
	dd	_2129
	dd	-8
	dd	0
	align	4
_5210:
	dd	_3083
	dd	1203
	dd	3
_5246:
	db	"bd",0
_5247:
	db	":BackdropData",0
	align	4
_5245:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-12
	dd	2
	dd	_5246
	dd	_5247
	dd	-16
	dd	2
	dd	_913
	dd	_909
	dd	-4
	dd	0
	align	4
_5216:
	dd	_3083
	dd	1204
	dd	4
	align	4
_5218:
	dd	_3083
	dd	1205
	dd	4
	align	4
_5222:
	dd	_3083
	dd	1206
	dd	4
	align	4
_5241:
	dd	3
	dd	0
	dd	0
	align	4
_5224:
	dd	_3083
	dd	1207
	dd	5
	align	4
_5235:
	dd	_3083
	dd	1208
	dd	5
	align	4
_5244:
	dd	3
	dd	0
	dd	0
	align	4
_5243:
	dd	_3083
	dd	1210
	dd	5
	align	4
_5252:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_5247
	dd	-4
	dd	0
	align	4
_5251:
	dd	3
	dd	0
	dd	0
	align	4
_5298:
	dd	1
	dd	_1152
	dd	2
	dd	_2142
	dd	_5247
	dd	-4
	dd	2
	dd	_828
	dd	_805
	dd	-8
	dd	0
	align	4
_5258:
	dd	_3083
	dd	1226
	dd	3
	align	4
_256:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,109,120,115
	align	4
_5266:
	dd	_3083
	dd	1227
	dd	3
	align	4
_5276:
	dd	_3083
	dd	1228
	dd	3
	align	4
_5294:
	dd	3
	dd	0
	dd	0
	align	4
_5280:
	dd	_3083
	dd	1229
	dd	4
	align	4
_5288:
	dd	_3083
	dd	1230
	dd	4
	align	4
_5293:
	dd	_3083
	dd	1231
	dd	4
	align	4
_5297:
	dd	3
	dd	0
	dd	0
	align	4
_5296:
	dd	_3083
	dd	1233
	dd	4
	align	4
_5315:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_1163
	dd	-4
	dd	0
	align	4
_5314:
	dd	3
	dd	0
	dd	0
_5306:
	db	"C:/Monkey/projects/Hamster-Monkey/ohrrpgce2/GUI-CUSTOM/includes/edgui.bmx",0
	align	4
_5305:
	dd	_5306
	dd	13
	dd	3
	align	4
_5369:
	dd	1
	dd	_1164
	dd	2
	dd	_2142
	dd	_1163
	dd	-4
	dd	2
	dd	_2110
	dd	_805
	dd	-8
	dd	0
	align	4
_5329:
	dd	_5306
	dd	22
	dd	3
	align	4
_5337:
	dd	3
	dd	0
	dd	0
	align	4
_5334:
	dd	_5306
	dd	25
	dd	5
	align	4
_5348:
	dd	3
	dd	0
	dd	0
	align	4
_5338:
	dd	_5306
	dd	28
	dd	5
	align	4
_5347:
	dd	3
	dd	0
	dd	0
	align	4
_5344:
	dd	_5306
	dd	31
	dd	7
	align	4
_5349:
	dd	_5306
	dd	39
	dd	3
	align	4
_5352:
	dd	_5306
	dd	40
	dd	3
_5368:
	db	"e",0
	align	4
_5367:
	dd	3
	dd	0
	dd	2
	dd	_5368
	dd	_1163
	dd	-12
	dd	0
	align	4
_5364:
	dd	_5306
	dd	41
	dd	4
	align	4
_5370:
	dd	1
	dd	_1165
	dd	2
	dd	_2142
	dd	_1163
	dd	-4
	dd	2
	dd	_2110
	dd	_805
	dd	-8
	dd	0
	align	4
_5382:
	dd	1
	dd	_1166
	dd	2
	dd	_2142
	dd	_1163
	dd	-4
	dd	0
	align	4
_5371:
	dd	_5306
	dd	50
	dd	3
	align	4
_5376:
	dd	3
	dd	0
	dd	0
	align	4
_5375:
	dd	_5306
	dd	50
	dd	25
	align	4
_5377:
	dd	_5306
	dd	51
	dd	3
	align	4
_5380:
	dd	_5306
	dd	52
	dd	3
	align	4
_5381:
	dd	_5306
	dd	53
	dd	3
	align	4
_5388:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_2112
	dd	-4
	dd	0
	align	4
_5387:
	dd	3
	dd	0
	dd	0
	align	4
_5939:
	dd	1
	dd	_1165
	dd	2
	dd	_2142
	dd	_2112
	dd	-4
	dd	2
	dd	_2110
	dd	_805
	dd	-8
	dd	0
	align	4
_5398:
	dd	_5306
	dd	95
	dd	3
	align	4
_5414:
	dd	3
	dd	0
	dd	0
	align	4
_5403:
	dd	_5306
	dd	98
	dd	5
	align	4
_5413:
	dd	3
	dd	0
	dd	0
	align	4
_5409:
	dd	_5306
	dd	101
	dd	7
	align	4
_5412:
	dd	_5306
	dd	102
	dd	7
	align	4
_5938:
	dd	3
	dd	0
	dd	0
	align	4
_5415:
	dd	_5306
	dd	109
	dd	5
	align	4
_5435:
	dd	3
	dd	0
	dd	0
	align	4
_5434:
	dd	_5306
	dd	111
	dd	7
_5442:
	db	"mapsel",0
_5443:
	db	":MaptilesSelector",0
	align	4
_5441:
	dd	3
	dd	0
	dd	2
	dd	_5442
	dd	_5443
	dd	-12
	dd	0
	align	4
_5436:
	dd	_5306
	dd	114
	dd	7
	align	4
_5438:
	dd	_5306
	dd	115
	dd	7
_5466:
	db	"walkabout_frame_captions",0
_5467:
	db	"spritesel",0
_5468:
	db	":SpriteSelector",0
	align	4
_5465:
	dd	3
	dd	0
	dd	2
	dd	_5466
	dd	_1224
	dd	-16
	dd	2
	dd	_5467
	dd	_5468
	dd	-20
	dd	0
	align	4
_5444:
	dd	_5306
	dd	118
	dd	7
	align	4
_260:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	85,112,32,65
	align	4
_261:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	85,112,32,66
	align	4
_262:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	82,105,103,104,116,32,65
	align	4
_263:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	82,105,103,104,116,32,66
	align	4
_264:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	68,111,119,110,32,65
	align	4
_265:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	68,111,119,110,32,66
	align	4
_266:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	76,101,102,116,32,65
	align	4
_267:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	76,101,102,116,32,66
	align	4
_5455:
	dd	_5306
	dd	119
	dd	7
	align	4
_5457:
	dd	_5306
	dd	120
	dd	7
	align	4
_5460:
	dd	_5306
	dd	121
	dd	7
	align	4
_5490:
	dd	3
	dd	0
	dd	2
	dd	_5466
	dd	_1224
	dd	-24
	dd	2
	dd	_5467
	dd	_5468
	dd	-28
	dd	0
	align	4
_5469:
	dd	_5306
	dd	124
	dd	7
	align	4
_268:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	83,116,97,110,100,105,110,103
	align	4
_269:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	83,116,101,112,112,105,110,103
	align	4
_270:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	65,116,116,97,99,107,32,65
	align	4
_271:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	65,116,116,97,99,107,32,66
	align	4
_272:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	67,97,115,116,47,85,115,101
	align	4
_273:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	72,117,114,116
	align	4
_274:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	87,101,97,107
	align	4
_275:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	68,101,97,100
	align	4
_5480:
	dd	_5306
	dd	125
	dd	7
	align	4
_5482:
	dd	_5306
	dd	126
	dd	7
	align	4
_5485:
	dd	_5306
	dd	127
	dd	7
	align	4
_5505:
	dd	3
	dd	0
	dd	2
	dd	_5466
	dd	_1224
	dd	-32
	dd	2
	dd	_5467
	dd	_5468
	dd	-36
	dd	0
	align	4
_5491:
	dd	_5306
	dd	130
	dd	7
	align	4
_276:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	69,110,101,109,121,32,40,102,97,99,105,110,103,32,114,105
	dw	103,104,116,41
	align	4
_5495:
	dd	_5306
	dd	131
	dd	7
	align	4
_5497:
	dd	_5306
	dd	132
	dd	7
	align	4
_5500:
	dd	_5306
	dd	133
	dd	7
	align	4
_5520:
	dd	3
	dd	0
	dd	2
	dd	_5466
	dd	_1224
	dd	-40
	dd	2
	dd	_5467
	dd	_5468
	dd	-44
	dd	0
	align	4
_5506:
	dd	_5306
	dd	136
	dd	7
	align	4
_5510:
	dd	_5306
	dd	137
	dd	7
	align	4
_5512:
	dd	_5306
	dd	138
	dd	7
	align	4
_5515:
	dd	_5306
	dd	139
	dd	7
	align	4
_5535:
	dd	3
	dd	0
	dd	2
	dd	_5466
	dd	_1224
	dd	-48
	dd	2
	dd	_5467
	dd	_5468
	dd	-52
	dd	0
	align	4
_5521:
	dd	_5306
	dd	142
	dd	7
	align	4
_5525:
	dd	_5306
	dd	143
	dd	7
	align	4
_5527:
	dd	_5306
	dd	144
	dd	7
	align	4
_5530:
	dd	_5306
	dd	145
	dd	7
	align	4
_5552:
	dd	3
	dd	0
	dd	2
	dd	_5466
	dd	_1224
	dd	-56
	dd	2
	dd	_5467
	dd	_5468
	dd	-60
	dd	0
	align	4
_5536:
	dd	_5306
	dd	148
	dd	7
	align	4
_277:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	70,105,114,115,116,32,70,114,97,109,101
	align	4
_278:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	77,105,100,100,108,101,32,70,114,97,109,101
	align	4
_279:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	76,97,115,116,32,70,114,97,109,101
	align	4
_5542:
	dd	_5306
	dd	149
	dd	7
	align	4
_5544:
	dd	_5306
	dd	150
	dd	7
	align	4
_5547:
	dd	_5306
	dd	151
	dd	7
	align	4
_5568:
	dd	3
	dd	0
	dd	2
	dd	_5466
	dd	_1224
	dd	-64
	dd	2
	dd	_5467
	dd	_5468
	dd	-68
	dd	0
	align	4
_5553:
	dd	_5306
	dd	154
	dd	7
	align	4
_280:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	70,114,97,109,101,32,49
	align	4
_281:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	70,114,97,109,101,32,50
	align	4
_5558:
	dd	_5306
	dd	155
	dd	7
	align	4
_5560:
	dd	_5306
	dd	156
	dd	7
	align	4
_5563:
	dd	_5306
	dd	157
	dd	7
	align	4
_5598:
	dd	3
	dd	0
	dd	2
	dd	_5466
	dd	_1224
	dd	-72
	dd	2
	dd	_5467
	dd	_5468
	dd	-76
	dd	0
	align	4
_5569:
	dd	_5306
	dd	161
	dd	7
	align	4
_282:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	84,111,112,32,76,101,102,116,32,67,111,114,110,101,114
	align	4
_283:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	84,111,112,32,69,100,103,101,32,76,101,102,116
	align	4
_284:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	84,111,112,32,69,100,103,101
	align	4
_285:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	84,111,112,32,69,100,103,101,32,82,105,103,104,116
	align	4
_286:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	84,111,112,32,82,105,103,104,116,32,67,111,114,110,101,114
	align	4
_287:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	76,101,102,116,32,69,100,103,101,32,84,111,112
	align	4
_288:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	82,105,103,104,116,32,69,100,103,101,32,84,111,112
	align	4
_289:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	76,101,102,116,32,69,100,103,101
	align	4
_290:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	82,105,103,104,116,32,69,100,103,101
	align	4
_291:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	76,101,102,116,32,69,100,103,101,32,66,111,116,116,111,109
	align	4
_292:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	82,105,103,104,116,32,69,100,103,101,32,66,111,116,116,111
	dw	109
	align	4
_293:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	66,111,116,116,111,109,32,76,101,102,116,32,67,111,114,110
	dw	101,114
	align	4
_294:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	66,111,116,116,111,109,32,69,100,103,101,32,76,101,102,116
	align	4
_295:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	66,111,116,116,111,109,32,69,100,103,101
	align	4
_296:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	66,111,116,116,111,109,32,69,100,103,101,32,82,105,103,104
	dw	116
	align	4
_297:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	66,111,116,116,111,109,32,82,105,103,104,116,32,67,111,114
	dw	110,101,114
	align	4
_5588:
	dd	_5306
	dd	162
	dd	7
	align	4
_5590:
	dd	_5306
	dd	163
	dd	7
	align	4
_5593:
	dd	_5306
	dd	164
	dd	7
	align	4
_5613:
	dd	3
	dd	0
	dd	2
	dd	_5466
	dd	_1224
	dd	-80
	dd	2
	dd	_5467
	dd	_5468
	dd	-84
	dd	0
	align	4
_5599:
	dd	_5306
	dd	167
	dd	7
	align	4
_298:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	67,104,97,114,97,99,116,101,114,32,80,111,114,116,114,97
	dw	105,116
	align	4
_5603:
	dd	_5306
	dd	168
	dd	7
	align	4
_5605:
	dd	_5306
	dd	169
	dd	7
	align	4
_5608:
	dd	_5306
	dd	170
	dd	7
	align	4
_5615:
	dd	3
	dd	0
	dd	0
	align	4
_5614:
	dd	_5306
	dd	174
	dd	7
	align	4
_299:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	79,72,82,82,80,71,67,69,10,40,67,41,50,48,49,51
	dw	32,38,32,86,105,103,105,108,115,111,102,116
	align	4
_5893:
	dd	3
	dd	0
	dd	0
	align	4
_5616:
	dd	_5306
	dd	178
	dd	7
	align	4
_301:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	82,80,71,32,70,105,108,101,115,58,114,112,103
	align	4
_300:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	83,101,108,101,99,116,32,82,80,71,32,116,111,32,111,112
	dw	101,110
	align	4
_5624:
	dd	_5306
	dd	181
	dd	7
	align	4
_5888:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-88
	dd	0
	align	4
_5628:
	dd	_5306
	dd	182
	dd	8
	align	4
_5633:
	dd	_5306
	dd	183
	dd	8
	align	4
_5643:
	dd	_5306
	dd	184
	dd	8
	align	4
_5648:
	dd	_5306
	dd	185
	dd	8
	align	4
_5652:
	dd	_5306
	dd	186
	dd	8
	align	4
_5659:
	dd	_5306
	dd	187
	dd	8
	align	4
_5668:
	dd	_5306
	dd	188
	dd	8
	align	4
_302:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	76,111,97,100,105,110,103,32,77,97,115,116,101,114,32,80
	dw	97,108,101,116,116,101
	align	4
_5671:
	dd	_5306
	dd	189
	dd	8
	align	4
_5672:
	dd	_5306
	dd	190
	dd	8
	align	4
_5673:
	dd	_5306
	dd	192
	dd	8
	align	4
_5676:
	dd	_5306
	dd	194
	dd	8
	align	4
_303:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	76,111,97,100,105,110,103,32,87,97,108,107,97,98,111,117
	dw	116,58
	align	4
_5681:
	dd	_5306
	dd	195
	dd	8
	align	4
_5682:
	dd	_5306
	dd	196
	dd	8
	align	4
_5685:
	dd	_5306
	dd	197
	dd	8
	align	4
_5690:
	dd	_5306
	dd	198
	dd	8
	align	4
_5695:
	dd	_5306
	dd	199
	dd	8
	align	4
_304:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	76,111,97,100,105,110,103,32,72,101,114,111,115
	align	4
_5700:
	dd	_5306
	dd	200
	dd	8
	align	4
_5701:
	dd	_5306
	dd	201
	dd	8
	align	4
_5706:
	dd	_5306
	dd	202
	dd	8
	align	4
_5711:
	dd	_5306
	dd	203
	dd	8
	align	4
_305:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	76,111,97,100,105,110,103,32,83,109,97,108,108,32,69,110
	dw	101,109,121
	align	4
_5716:
	dd	_5306
	dd	204
	dd	8
	align	4
_5717:
	dd	_5306
	dd	205
	dd	8
	align	4
_5722:
	dd	_5306
	dd	206
	dd	8
	align	4
_5727:
	dd	_5306
	dd	207
	dd	8
	align	4
_306:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	76,111,97,100,105,110,103,32,77,101,100,105,117,109,32,69
	dw	110,101,109,121
	align	4
_5730:
	dd	_5306
	dd	208
	dd	8
	align	4
_5731:
	dd	_5306
	dd	209
	dd	8
	align	4
_5736:
	dd	_5306
	dd	210
	dd	8
	align	4
_5741:
	dd	_5306
	dd	211
	dd	8
	align	4
_307:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	76,111,97,100,105,110,103,32,76,97,114,103,101,32,69,110
	dw	101,109,121
	align	4
_5744:
	dd	_5306
	dd	212
	dd	8
	align	4
_5745:
	dd	_5306
	dd	213
	dd	8
	align	4
_5750:
	dd	_5306
	dd	214
	dd	8
	align	4
_5755:
	dd	_5306
	dd	215
	dd	8
	align	4
_308:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	76,111,97,100,105,110,103,32,65,116,116,97,99,107,115
	align	4
_5758:
	dd	_5306
	dd	216
	dd	8
	align	4
_5759:
	dd	_5306
	dd	217
	dd	8
	align	4
_5764:
	dd	_5306
	dd	218
	dd	8
	align	4
_5769:
	dd	_5306
	dd	219
	dd	8
	align	4
_309:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	76,111,97,100,105,110,103,32,87,101,97,112,111,110,115
	align	4
_5772:
	dd	_5306
	dd	220
	dd	8
	align	4
_5773:
	dd	_5306
	dd	221
	dd	8
	align	4
_5778:
	dd	_5306
	dd	222
	dd	8
	align	4
_5783:
	dd	_5306
	dd	223
	dd	8
	align	4
_310:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	76,111,97,100,105,110,103,32,66,111,120,32,66,111,114,100
	dw	101,114,115
	align	4
_5786:
	dd	_5306
	dd	224
	dd	8
	align	4
_5787:
	dd	_5306
	dd	225
	dd	8
	align	4
_5792:
	dd	_5306
	dd	226
	dd	8
	align	4
_5797:
	dd	_5306
	dd	227
	dd	8
	align	4
_311:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	76,111,97,100,105,110,103,32,80,111,114,116,114,97,105,116
	dw	115
	align	4
_5800:
	dd	_5306
	dd	228
	dd	8
	align	4
_5801:
	dd	_5306
	dd	229
	dd	8
	align	4
_5806:
	dd	_5306
	dd	230
	dd	8
	align	4
_5811:
	dd	_5306
	dd	231
	dd	8
	align	4
_312:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	76,111,97,100,105,110,103,32,77,117,115,105,99,58
	align	4
_5814:
	dd	_5306
	dd	232
	dd	8
	align	4
_5815:
	dd	_5306
	dd	233
	dd	8
	align	4
_5816:
	dd	_5306
	dd	234
	dd	8
	align	4
_5821:
	dd	_5306
	dd	235
	dd	8
	align	4
_5824:
	dd	_5306
	dd	236
	dd	8
	align	4
_313:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	76,111,97,100,105,110,103,32,83,111,117,110,100,115,58
	align	4
_5827:
	dd	_5306
	dd	237
	dd	8
	align	4
_5828:
	dd	_5306
	dd	238
	dd	8
	align	4
_314:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	76,111,97,100,105,110,103,32,83,111,117,110,100,115
	align	4
_5829:
	dd	_5306
	dd	239
	dd	8
	align	4
_5834:
	dd	_5306
	dd	240
	dd	8
	align	4
_5837:
	dd	_5306
	dd	241
	dd	8
	align	4
_315:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	76,111,97,100,105,110,103,32,84,105,108,101,115,101,116,115
	dw	58
	align	4
_5840:
	dd	_5306
	dd	242
	dd	8
	align	4
_5841:
	dd	_5306
	dd	243
	dd	8
	align	4
_316:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	76,111,97,100,105,110,103,32,84,105,108,101,115,101,116,115
	align	4
_5842:
	dd	_5306
	dd	244
	dd	8
	align	4
_5847:
	dd	_5306
	dd	245
	dd	8
	align	4
_5850:
	dd	_5306
	dd	246
	dd	8
	align	4
_317:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	76,111,97,100,105,110,103,32,66,97,99,107,100,114,111,112
	dw	115,58
	align	4
_5853:
	dd	_5306
	dd	247
	dd	8
	align	4
_5854:
	dd	_5306
	dd	248
	dd	8
	align	4
_318:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	76,111,97,100,105,110,103,32,66,97,99,107,100,114,111,112
	dw	115
	align	4
_5855:
	dd	_5306
	dd	250
	dd	8
	align	4
_5860:
	dd	_5306
	dd	251
	dd	8
	align	4
_5863:
	dd	_5306
	dd	254
	dd	8
	align	4
_5865:
	dd	_5306
	dd	266
	dd	8
_5887:
	db	"havemap",0
	align	4
_5886:
	dd	3
	dd	0
	dd	2
	dd	_2954
	dd	_3058
	dd	-92
	dd	2
	dd	_5887
	dd	_805
	dd	-96
	dd	0
	align	4
_5866:
	dd	_5306
	dd	256
	dd	9
	align	4
_5868:
	dd	_5306
	dd	257
	dd	9
	align	4
_5872:
	dd	_5306
	dd	258
	dd	9
	align	4
_5881:
	dd	3
	dd	0
	dd	0
	align	4
_5874:
	dd	_5306
	dd	259
	dd	10
	align	4
_5875:
	dd	_5306
	dd	260
	dd	10
	align	4
_322:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	76,111,97,100,105,110,103,32,77,97,112,58,32
	align	4
_5880:
	dd	_5306
	dd	261
	dd	10
	align	4
_5884:
	dd	3
	dd	0
	dd	0
	align	4
_5883:
	dd	_5306
	dd	263
	dd	10
	align	4
_5885:
	dd	_5306
	dd	265
	dd	9
	align	4
_5889:
	dd	_5306
	dd	269
	dd	7
	align	4
_323:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	73,109,112,111,114,116,32,67,111,109,112,108,101,116,101,33
	align	4
_5892:
	dd	_5306
	dd	270
	dd	7
_5907:
	db	"exportpath",0
_5908:
	db	"myfile",0
_5909:
	db	":RPGXML",0
	align	4
_5906:
	dd	3
	dd	0
	dd	2
	dd	_5907
	dd	_819
	dd	-100
	dd	2
	dd	_5908
	dd	_5909
	dd	-104
	dd	0
	align	4
_5894:
	dd	_5306
	dd	274
	dd	8
	align	4
_324:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	69,120,112,111,114,116,32,88,77,76,32,116,111,32,70,111
	dw	108,100,101,114
	align	4
_5896:
	dd	_5306
	dd	275
	dd	8
	align	4
_5898:
	dd	_5306
	dd	277
	dd	8
	align	4
_5905:
	dd	3
	dd	0
	dd	0
	align	4
_5900:
	dd	_5306
	dd	279
	dd	9
	align	4
_5923:
	dd	3
	dd	0
	dd	2
	dd	_5907
	dd	_819
	dd	-108
	dd	2
	dd	_5908
	dd	_5909
	dd	-112
	dd	0
	align	4
_5910:
	dd	_5306
	dd	284
	dd	8
	align	4
_325:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	69,120,112,111,114,116,32,72,84,77,76,53,32,116,111,32
	dw	70,111,108,100,101,114
	align	4
_5912:
	dd	_5306
	dd	285
	dd	8
	align	4
_5914:
	dd	_5306
	dd	287
	dd	8
	align	4
_5922:
	dd	3
	dd	0
	dd	0
	align	4
_5916:
	dd	_5306
	dd	288
	dd	9
	align	4
_326:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	116,97,114,103,101,116,47,104,116,109,108,53
	align	4
_5917:
	dd	_5306
	dd	289
	dd	9
	align	4
_327:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	47,100,97,116,97
	align	4
_5937:
	dd	3
	dd	0
	dd	2
	dd	_5907
	dd	_819
	dd	-116
	dd	2
	dd	_5908
	dd	_5909
	dd	-120
	dd	0
	align	4
_5924:
	dd	_5306
	dd	293
	dd	8
	align	4
_328:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	69,120,112,111,114,116,32,70,108,97,115,104,32,116,111,32
	dw	70,111,108,100,101,114
	align	4
_5926:
	dd	_5306
	dd	294
	dd	8
	align	4
_5928:
	dd	_5306
	dd	296
	dd	8
	align	4
_5936:
	dd	3
	dd	0
	dd	0
	align	4
_5930:
	dd	_5306
	dd	297
	dd	9
	align	4
_329:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	116,97,114,103,101,116,47,102,108,97,115,104
	align	4
_5931:
	dd	_5306
	dd	298
	dd	9
_6009:
	db	"exportmenu",0
	align	4
_6008:
	dd	1
	dd	_1218
	dd	2
	dd	_2142
	dd	_2112
	dd	-4
	dd	2
	dd	_6009
	dd	_1156
	dd	-8
	dd	0
	align	4
_5940:
	dd	_5306
	dd	309
	dd	3
	align	4
_5948:
	dd	_5306
	dd	310
	dd	3
	align	4
_330:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	38,70,105,108,101
	align	4
_5958:
	dd	_5306
	dd	311
	dd	3
	align	4
_331:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	38,78,101,119
	align	4
_5961:
	dd	_5306
	dd	312
	dd	3
	align	4
_332:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	38,79,112,101,110
	align	4
_5964:
	dd	_5306
	dd	313
	dd	3
	align	4
_333:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	38,67,108,111,115,101
	align	4
_5967:
	dd	_5306
	dd	314
	dd	3
	align	4
_5970:
	dd	_5306
	dd	315
	dd	3
	align	4
_334:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	38,83,97,118,101
	align	4
_5973:
	dd	_5306
	dd	316
	dd	3
	align	4
_5976:
	dd	_5306
	dd	317
	dd	3
	align	4
_335:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	38,73,109,112,111,114,116
	align	4
_5979:
	dd	_5306
	dd	318
	dd	3
	align	4
_336:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	38,69,120,112,111,114,116
	align	4
_5983:
	dd	_5306
	dd	319
	dd	3
	align	4
_337:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	82,80,71,88,77,76
	align	4
_5984:
	dd	_5306
	dd	320
	dd	3
	align	4
_338:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	72,84,77,76,53
	align	4
_5985:
	dd	_5306
	dd	321
	dd	3
	align	4
_339:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	70,108,97,115,104
	align	4
_5986:
	dd	_5306
	dd	323
	dd	3
	align	4
_5989:
	dd	_5306
	dd	324
	dd	3
	align	4
_340:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	69,38,120,105,116
	align	4
_5992:
	dd	_5306
	dd	340
	dd	3
	align	4
_341:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	38,72,101,108,112
	align	4
_6002:
	dd	_5306
	dd	341
	dd	3
	align	4
_342:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	38,65,98,111,117,116
	align	4
_6005:
	dd	_5306
	dd	343
	dd	3
	align	4
_6016:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_5468
	dd	-4
	dd	0
	align	4
_6015:
	dd	3
	dd	0
	dd	0
_6463:
	db	"sspritetype",0
_6464:
	db	"frame_captions",0
_6465:
	db	"p",0
_6466:
	db	"ssize",0
	align	4
_6462:
	dd	1
	dd	_1218
	dd	2
	dd	_2142
	dd	_5468
	dd	-4
	dd	2
	dd	_6463
	dd	_805
	dd	-8
	dd	2
	dd	_6464
	dd	_1224
	dd	-12
	dd	2
	dd	_6465
	dd	_1163
	dd	-16
	dd	2
	dd	_6466
	dd	_805
	dd	-20
	dd	0
	align	4
_6028:
	dd	_5306
	dd	365
	dd	3
	align	4
_6036:
	dd	_5306
	dd	366
	dd	3
	align	4
_6044:
	dd	_5306
	dd	370
	dd	3
	align	4
_6084:
	dd	3
	dd	0
	dd	0
	align	4
_6056:
	dd	_5306
	dd	374
	dd	5
	align	4
_6064:
	dd	_5306
	dd	377
	dd	5
	align	4
_6068:
	dd	_5306
	dd	378
	dd	5
	align	4
_6072:
	dd	_5306
	dd	379
	dd	5
	align	4
_343:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	87,97,108,107,97,98,111,117,116,32,83,112,114,105,116,101
	dw	115
	align	4
_6080:
	dd	_5306
	dd	380
	dd	5
	align	4
_6113:
	dd	3
	dd	0
	dd	0
	align	4
_6085:
	dd	_5306
	dd	384
	dd	5
	align	4
_6093:
	dd	_5306
	dd	387
	dd	5
	align	4
_6097:
	dd	_5306
	dd	388
	dd	5
	align	4
_6101:
	dd	_5306
	dd	389
	dd	5
	align	4
_344:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	72,101,114,111,32,83,112,114,105,116,101,115
	align	4
_6109:
	dd	_5306
	dd	390
	dd	5
	align	4
_6142:
	dd	3
	dd	0
	dd	0
	align	4
_6114:
	dd	_5306
	dd	394
	dd	5
	align	4
_6122:
	dd	_5306
	dd	397
	dd	5
	align	4
_6126:
	dd	_5306
	dd	398
	dd	5
	align	4
_6130:
	dd	_5306
	dd	399
	dd	5
	align	4
_345:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	83,109,97,108,108,32,69,110,101,109,121,32,83,112,114,105
	dw	116,101,115
	align	4
_6138:
	dd	_5306
	dd	400
	dd	5
	align	4
_6171:
	dd	3
	dd	0
	dd	0
	align	4
_6143:
	dd	_5306
	dd	404
	dd	5
	align	4
_6151:
	dd	_5306
	dd	407
	dd	5
	align	4
_6155:
	dd	_5306
	dd	408
	dd	5
	align	4
_6159:
	dd	_5306
	dd	409
	dd	5
	align	4
_346:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	77,101,100,105,117,109,32,69,110,101,109,121,32,83,112,114
	dw	105,116,101,115
	align	4
_6167:
	dd	_5306
	dd	410
	dd	5
	align	4
_6200:
	dd	3
	dd	0
	dd	0
	align	4
_6172:
	dd	_5306
	dd	414
	dd	5
	align	4
_6180:
	dd	_5306
	dd	417
	dd	5
	align	4
_6184:
	dd	_5306
	dd	418
	dd	5
	align	4
_6188:
	dd	_5306
	dd	419
	dd	5
	align	4
_347:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	76,97,114,103,101,32,69,110,101,109,121,32,83,112,114,105
	dw	116,101,115
	align	4
_6196:
	dd	_5306
	dd	420
	dd	5
	align	4
_6229:
	dd	3
	dd	0
	dd	0
	align	4
_6201:
	dd	_5306
	dd	424
	dd	5
	align	4
_6209:
	dd	_5306
	dd	427
	dd	5
	align	4
_6213:
	dd	_5306
	dd	428
	dd	5
	align	4
_6217:
	dd	_5306
	dd	429
	dd	5
	align	4
_348:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	65,116,116,97,99,107,32,83,112,114,105,116,101,115
	align	4
_6225:
	dd	_5306
	dd	430
	dd	5
	align	4
_6258:
	dd	3
	dd	0
	dd	0
	align	4
_6230:
	dd	_5306
	dd	434
	dd	5
	align	4
_6238:
	dd	_5306
	dd	437
	dd	5
	align	4
_6242:
	dd	_5306
	dd	438
	dd	5
	align	4
_6246:
	dd	_5306
	dd	439
	dd	5
	align	4
_349:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	87,101,97,112,111,110,32,83,112,114,105,116,101,115
	align	4
_6254:
	dd	_5306
	dd	440
	dd	5
	align	4
_6287:
	dd	3
	dd	0
	dd	0
	align	4
_6259:
	dd	_5306
	dd	444
	dd	5
	align	4
_6267:
	dd	_5306
	dd	447
	dd	5
	align	4
_6271:
	dd	_5306
	dd	448
	dd	5
	align	4
_6275:
	dd	_5306
	dd	449
	dd	5
	align	4
_350:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	66,111,120,32,66,111,114,100,101,114,115
	align	4
_6283:
	dd	_5306
	dd	450
	dd	5
	align	4
_6316:
	dd	3
	dd	0
	dd	0
	align	4
_6288:
	dd	_5306
	dd	454
	dd	5
	align	4
_6296:
	dd	_5306
	dd	457
	dd	5
	align	4
_6300:
	dd	_5306
	dd	458
	dd	5
	align	4
_6304:
	dd	_5306
	dd	459
	dd	5
	align	4
_351:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	80,111,114,116,114,97,105,116,115
	align	4
_6312:
	dd	_5306
	dd	460
	dd	5
	align	4
_6317:
	dd	_5306
	dd	465
	dd	3
	align	4
_6327:
	dd	_5306
	dd	467
	dd	3
	align	4
_6350:
	dd	_5306
	dd	468
	dd	3
	align	4
_353:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	32,82,101,97,108,32,115,101,116,115,58,32
	align	4
_352:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	78,85,109,115,101,116,115,32,86,97,114,105,97,98,108,101
	dw	58,32
	align	4
_6359:
	dd	_5306
	dd	469
	dd	3
	align	4
_6433:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-24
	dd	0
	align	4
_6367:
	dd	_5306
	dd	471
	dd	4
_6432:
	db	"spritepanel",0
	align	4
_6431:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-28
	dd	2
	dd	_6432
	dd	_1156
	dd	-32
	dd	2
	dd	_1005
	dd	_1038
	dd	-36
	dd	0
	align	4
_6380:
	dd	_5306
	dd	474
	dd	5
	align	4
_6400:
	dd	_5306
	dd	475
	dd	5
	align	4
_6415:
	dd	_5306
	dd	476
	dd	5
	align	4
_6417:
	dd	_5306
	dd	477
	dd	5
	align	4
_6421:
	dd	_5306
	dd	478
	dd	5
	align	4
_6425:
	dd	_5306
	dd	479
	dd	5
	align	4
_6426:
	dd	_5306
	dd	480
	dd	5
	align	4
_6434:
	dd	_5306
	dd	485
	dd	3
	align	4
_6442:
	dd	_5306
	dd	486
	dd	3
	align	4
_6456:
	dd	_5306
	dd	487
	dd	3
	align	4
_6459:
	dd	_5306
	dd	488
	dd	3
	align	4
_6568:
	dd	1
	dd	_1165
	dd	2
	dd	_2142
	dd	_5468
	dd	-4
	dd	2
	dd	_2110
	dd	_805
	dd	-8
	dd	0
	align	4
_6467:
	dd	_5306
	dd	496
	dd	3
	align	4
_6488:
	dd	3
	dd	0
	dd	0
	align	4
_6471:
	dd	_5306
	dd	499
	dd	5
	align	4
_6487:
	dd	3
	dd	0
	dd	0
	align	4
_6477:
	dd	_5306
	dd	502
	dd	7
	align	4
_6484:
	dd	_5306
	dd	503
	dd	7
	align	4
_6489:
	dd	_5306
	dd	510
	dd	3
	align	4
_6551:
	dd	3
	dd	0
	dd	2
	dd	_6465
	dd	_1156
	dd	-12
	dd	0
	align	4
_6501:
	dd	_5306
	dd	512
	dd	4
	align	4
_6532:
	dd	3
	dd	0
	dd	0
	align	4
_6506:
	dd	_5306
	dd	516
	dd	6
_6530:
	db	"sped",0
_6531:
	db	":SpriteEditor",0
	align	4
_6529:
	dd	3
	dd	0
	dd	2
	dd	_6530
	dd	_6531
	dd	-16
	dd	2
	dd	_1005
	dd	_1038
	dd	-20
	dd	0
	align	4
_6510:
	dd	_5306
	dd	520
	dd	8
	align	4
_363:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	80,97,110,101,108,32,77,111,117,115,101,32,85,112
	align	4
_6511:
	dd	_5306
	dd	522
	dd	8
	align	4
_6513:
	dd	_5306
	dd	523
	dd	8
	align	4
_6515:
	dd	_5306
	dd	524
	dd	8
	align	4
_6524:
	dd	_5306
	dd	525
	dd	8
	align	4
_6550:
	dd	3
	dd	0
	dd	0
	align	4
_6533:
	dd	_5306
	dd	532
	dd	6
	align	4
_6547:
	dd	3
	dd	0
	dd	0
	align	4
_6540:
	dd	_5306
	dd	536
	dd	8
	align	4
_6549:
	dd	3
	dd	0
	dd	0
	align	4
_6548:
	dd	_5306
	dd	540
	dd	8
	align	4
_364:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	80,97,110,101,108,32,67,104,97,110,103,101,100
	align	4
_6552:
	dd	_5306
	dd	548
	dd	3
	align	4
_6567:
	dd	3
	dd	0
	dd	2
	dd	_5368
	dd	_1163
	dd	-24
	dd	0
	align	4
_6564:
	dd	_5306
	dd	549
	dd	4
	align	4
_6572:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_5443
	dd	-4
	dd	0
	align	4
_6571:
	dd	3
	dd	0
	dd	0
	align	4
_6647:
	dd	1
	dd	_1218
	dd	2
	dd	_2142
	dd	_5443
	dd	-4
	dd	2
	dd	_6465
	dd	_1163
	dd	-8
	dd	0
	align	4
_6578:
	dd	_5306
	dd	562
	dd	3
	align	4
_6586:
	dd	_5306
	dd	563
	dd	3
	align	4
_368:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	84,105,108,101,115,101,116,115
	align	4
_6594:
	dd	_5306
	dd	564
	dd	3
	align	4
_6610:
	dd	_5306
	dd	565
	dd	3
	align	4
_6646:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-12
	dd	2
	dd	_6432
	dd	_1156
	dd	-16
	dd	2
	dd	_1005
	dd	_1038
	dd	-20
	dd	0
	align	4
_6618:
	dd	_5306
	dd	568
	dd	4
	align	4
_6622:
	dd	_5306
	dd	569
	dd	4
	align	4
_6634:
	dd	_5306
	dd	570
	dd	4
	align	4
_6636:
	dd	_5306
	dd	571
	dd	4
	align	4
_6640:
	dd	_5306
	dd	572
	dd	4
	align	4
_6641:
	dd	_5306
	dd	573
	dd	4
	align	4
_6653:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_6531
	dd	-4
	dd	0
	align	4
_6652:
	dd	3
	dd	0
	dd	0
_6888:
	db	"xx",0
_6889:
	db	"yy",0
	align	4
_6887:
	dd	1
	dd	_1218
	dd	2
	dd	_2142
	dd	_6531
	dd	-4
	dd	2
	dd	_1017
	dd	_1222
	dd	-8
	dd	2
	dd	_4518
	dd	_805
	dd	-12
	dd	2
	dd	_2293
	dd	_805
	dd	-16
	dd	2
	dd	_6465
	dd	_1163
	dd	-20
	dd	2
	dd	_6888
	dd	_805
	dd	-24
	dd	2
	dd	_6889
	dd	_805
	dd	-28
	dd	0
	align	4
_6663:
	dd	_5306
	dd	597
	dd	3
	align	4
_6671:
	dd	_5306
	dd	598
	dd	3
	align	4
_6679:
	dd	_5306
	dd	599
	dd	3
	align	4
_6683:
	dd	_5306
	dd	600
	dd	3
	align	4
_6687:
	dd	_5306
	dd	601
	dd	3
	align	4
_6695:
	dd	_5306
	dd	602
	dd	3
	align	4
_372:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	83,112,114,105,116,101,32,69,100,105,116,111,114
	align	4
_6703:
	dd	_5306
	dd	603
	dd	3
	align	4
_374:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	32,120,32
	align	4
_373:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	67,97,110,118,97,115,32,115,105,122,101,58,32
	align	4
_6752:
	dd	_5306
	dd	604
	dd	3
	align	4
_6810:
	dd	_5306
	dd	605
	dd	3
	align	4
_375:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	114,101,115,111,117,114,99,101,115,47,101,100,105,116,105,99
	dw	111,110,115,46,112,110,103
	align	4
_6822:
	dd	_5306
	dd	606
	dd	3
	align	4
_376:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	68,114,97,119
	align	4
_377:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	70,105,108,108
	align	4
_378:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	69,108,108,105,112,115,101
	align	4
_379:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	82,101,99,116,97,110,103,108,101
	align	4
_380:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	76,105,110,101
	align	4
_6831:
	dd	_5306
	dd	611
	dd	3
	align	4
_6843:
	dd	_5306
	dd	612
	dd	3
	align	4
_6851:
	dd	_5306
	dd	613
	dd	3
	align	4
_6853:
	dd	_5306
	dd	614
	dd	3
	align	4
_6855:
	dd	_5306
	dd	615
	dd	3
	align	4
_6881:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-32
	dd	0
	align	4
_6858:
	dd	_5306
	dd	617
	dd	5
	align	4
_6875:
	dd	_5306
	dd	619
	dd	4
	align	4
_6876:
	dd	_5306
	dd	620
	dd	4
	align	4
_6880:
	dd	3
	dd	0
	dd	0
	align	4
_6878:
	dd	_5306
	dd	621
	dd	5
	align	4
_6879:
	dd	_5306
	dd	622
	dd	5
	align	4
_6882:
	dd	_5306
	dd	627
	dd	3
	align	4
_6927:
	dd	1
	dd	_1165
	dd	2
	dd	_2142
	dd	_6531
	dd	-4
	dd	2
	dd	_2110
	dd	_805
	dd	-8
	dd	0
	align	4
_6890:
	dd	_5306
	dd	632
	dd	3
	align	4
_6911:
	dd	3
	dd	0
	dd	0
	align	4
_6896:
	dd	_5306
	dd	636
	dd	5
	align	4
_6910:
	dd	3
	dd	0
	dd	0
	align	4
_6902:
	dd	_5306
	dd	639
	dd	7
	align	4
_6905:
	dd	_5306
	dd	640
	dd	7
	align	4
_6915:
	dd	3
	dd	0
	dd	0
	align	4
_6912:
	dd	_5306
	dd	647
	dd	5
	align	4
_6926:
	dd	3
	dd	0
	dd	0
	align	4
_6916:
	dd	_5306
	dd	650
	dd	5
	align	4
_6925:
	dd	3
	dd	0
	dd	0
	align	4
_6922:
	dd	_5306
	dd	653
	dd	7
	align	4
_7033:
	dd	1
	dd	_1166
	dd	2
	dd	_2142
	dd	_6531
	dd	-4
	dd	0
	align	4
_6928:
	dd	_5306
	dd	667
	dd	3
	align	4
_6931:
	dd	_5306
	dd	668
	dd	3
	align	4
_6932:
	dd	_5306
	dd	669
	dd	3
	align	4
_6933:
	dd	_5306
	dd	670
	dd	3
	align	4
_7031:
	dd	3
	dd	0
	dd	2
	dd	_920
	dd	_805
	dd	-8
	dd	0
	align	4
_6957:
	dd	_5306
	dd	671
	dd	4
_7030:
	db	"colors",0
	align	4
_7029:
	dd	3
	dd	0
	dd	2
	dd	_919
	dd	_805
	dd	-12
	dd	2
	dd	_914
	dd	_805
	dd	-16
	dd	2
	dd	_7030
	dd	_915
	dd	-20
	dd	0
	align	4
_6981:
	dd	_5306
	dd	673
	dd	5
	align	4
_7003:
	dd	_5306
	dd	674
	dd	5
	align	4
_7005:
	dd	_5306
	dd	675
	dd	5
	align	4
_7012:
	dd	_5306
	dd	676
	dd	5
	align	4
_7032:
	dd	_5306
	dd	680
	dd	3
_7119:
	db	"loaddefaultpals",0
_7120:
	db	"v",0
	align	4
_7118:
	dd	1
	dd	_7119
	dd	2
	dd	_1057
	dd	_805
	dd	-8
	dd	2
	dd	_1072
	dd	_915
	dd	-12
	dd	2
	dd	_1041
	dd	_805
	dd	-16
	dd	2
	dd	_7120
	dd	_1017
	dd	-4
	dd	2
	dd	_2293
	dd	_819
	dd	-20
	dd	2
	dd	_945
	dd	_915
	dd	-24
	dd	0
_7035:
	db	"C:/Monkey/projects/Hamster-Monkey/ohrrpgce2/GUI-CUSTOM/includes/allmodex.bmx",0
	align	4
_7034:
	dd	_7035
	dd	2
	dd	2
	align	4
_7037:
	dd	_7035
	dd	3
	dd	2
	align	4
_394:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,98,105,110
	align	4
_393:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	100,101,102,112,97,108
	align	4
_7039:
	dd	_7035
	dd	4
	dd	2
_7040:
	db	"i",0
	align	4
_7042:
	dd	_7035
	dd	5
	dd	2
	align	4
_7115:
	dd	3
	dd	0
	dd	2
	dd	_2730
	dd	_2294
	dd	-28
	dd	0
	align	4
_7044:
	dd	_7035
	dd	6
	dd	3
	align	4
_7046:
	dd	_7035
	dd	7
	dd	3
	align	4
_7047:
	dd	_7035
	dd	8
	dd	3
	align	4
_7113:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-32
	dd	0
	align	4
_7051:
	dd	_7035
	dd	9
	dd	4
	align	4
_7055:
	dd	3
	dd	0
	dd	0
	align	4
_7053:
	dd	_7035
	dd	10
	dd	5
	align	4
_7054:
	dd	_7035
	dd	11
	dd	5
	align	4
_7056:
	dd	_7035
	dd	13
	dd	4
	align	4
_7057:
	dd	_7035
	dd	14
	dd	4
	align	4
_7061:
	dd	_7035
	dd	16
	dd	4
	align	4
_7077:
	dd	3
	dd	0
	dd	0
	align	4
_7067:
	dd	_7035
	dd	17
	dd	5
	align	4
_7078:
	dd	_7035
	dd	19
	dd	4
	align	4
_7112:
	dd	3
	dd	0
	dd	0
	align	4
_7086:
	dd	_7035
	dd	20
	dd	5
	align	4
_7095:
	dd	_7035
	dd	21
	dd	5
	align	4
_7104:
	dd	_7035
	dd	22
	dd	5
	align	4
_7114:
	dd	_7035
	dd	37
	dd	3
	align	4
_7117:
	dd	3
	dd	0
	dd	0
_7153:
	db	"Palette256_new_from_buffer",0
_7154:
	db	"word",0
	align	4
_7152:
	dd	1
	dd	_7153
	dd	2
	dd	_945
	dd	_915
	dd	-4
	dd	2
	dd	_4046
	dd	_805
	dd	-8
	dd	2
	dd	_2371
	dd	_946
	dd	-12
	dd	2
	dd	_7154
	dd	_805
	dd	-16
	dd	0
	align	4
_7121:
	dd	_7035
	dd	44
	dd	2
	align	4
_7123:
	dd	_7035
	dd	45
	dd	2
	align	4
_7125:
	dd	_7035
	dd	48
	dd	2
	align	4
_7150:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-20
	dd	0
	align	4
_7128:
	dd	_7035
	dd	50
	dd	3
	align	4
_7131:
	dd	_7035
	dd	51
	dd	3
	align	4
_7140:
	dd	3
	dd	0
	dd	0
	align	4
_7133:
	dd	_7035
	dd	52
	dd	4
	align	4
_7149:
	dd	3
	dd	0
	dd	0
	align	4
_7142:
	dd	_7035
	dd	54
	dd	4
	align	4
_7151:
	dd	_7035
	dd	57
	dd	2
_7157:
	db	"changepal",0
_7158:
	db	"palval",0
_7159:
	db	"palchange",0
_7160:
	db	"aindex",0
	align	4
_7156:
	dd	1
	dd	_7157
	dd	2
	dd	_7158
	dd	_805
	dd	-4
	dd	2
	dd	_7159
	dd	_805
	dd	-8
	dd	2
	dd	_1070
	dd	_915
	dd	-12
	dd	2
	dd	_7160
	dd	_805
	dd	-16
	dd	0
	align	4
_7155:
	dd	_7035
	dd	64
	dd	1
_7263:
	db	"getpal16",0
_7264:
	db	"aoffset",0
_7265:
	db	"foffset",0
_7266:
	db	"autotype",0
_7267:
	db	"defaultpal",0
	align	4
_7262:
	dd	1
	dd	_7263
	dd	2
	dd	_2434
	dd	_915
	dd	-4
	dd	2
	dd	_7264
	dd	_805
	dd	-8
	dd	2
	dd	_7265
	dd	_805
	dd	-12
	dd	2
	dd	_7266
	dd	_805
	dd	-16
	dd	2
	dd	_943
	dd	_805
	dd	-20
	dd	2
	dd	_2429
	dd	_915
	dd	-24
	dd	2
	dd	_7267
	dd	_805
	dd	-28
	dd	2
	dd	_805
	dd	_805
	dd	-32
	dd	0
	align	4
_7161:
	dd	_7035
	dd	69
	dd	2
_7162:
	db	"i",0
	align	4
_7164:
	dd	_7035
	dd	70
	dd	2
	align	4
_7166:
	dd	_7035
	dd	71
	dd	2
	align	4
_7168:
	dd	_7035
	dd	72
	dd	2
	align	4
_7171:
	dd	3
	dd	0
	dd	0
	align	4
_7170:
	dd	_7035
	dd	72
	dd	25
	align	4
_7172:
	dd	_7035
	dd	73
	dd	2
	align	4
_401:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,112,97,108
	align	4
_7175:
	dd	_7035
	dd	75
	dd	2
	align	4
_7242:
	dd	3
	dd	0
	dd	0
	align	4
_7179:
	dd	_7035
	dd	76
	dd	3
	align	4
_7218:
	dd	3
	dd	0
	dd	0
	align	4
_7185:
	dd	_7035
	dd	78
	dd	4
	align	4
_7188:
	dd	_7035
	dd	86
	dd	4
	align	4
_7216:
	dd	3
	dd	0
	dd	0
	align	4
_7190:
	dd	_7035
	dd	87
	dd	5
	align	4
_7203:
	dd	_7035
	dd	88
	dd	5
	align	4
_7217:
	dd	_7035
	dd	93
	dd	4
	align	4
_7230:
	dd	3
	dd	0
	dd	0
	align	4
_7220:
	dd	_7035
	dd	94
	dd	3
	align	4
_7229:
	dd	3
	dd	0
	dd	0
	align	4
_7222:
	dd	_7035
	dd	96
	dd	4
	align	4
_7228:
	dd	3
	dd	0
	dd	0
	align	4
_7224:
	dd	_7035
	dd	98
	dd	5
	align	4
_7227:
	dd	3
	dd	0
	dd	0
	align	4
_7226:
	dd	_7035
	dd	101
	dd	6
	align	4
_7231:
	dd	_7035
	dd	106
	dd	3
	align	4
_405:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	80,97,108,101,116,116,101,32,111,117,116,32,111,102,32,114
	dw	97,110,103,101
	align	4
_7232:
	dd	_7035
	dd	107
	dd	3
	align	4
_7241:
	dd	3
	dd	0
	dd	0
	align	4
_7234:
	dd	_7035
	dd	108
	dd	4
	align	4
_7238:
	dd	_7035
	dd	109
	dd	4
	align	4
_410:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	32,64,32
	align	4
_409:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	69,108,115,101,32,99,111,108,58,32
_7261:
	db	"xbuf",0
	align	4
_7260:
	dd	3
	dd	0
	dd	2
	dd	_7261
	dd	_915
	dd	-36
	dd	0
	align	4
_7244:
	dd	_7035
	dd	112
	dd	3
	align	4
_411:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	80,97,108,101,116,116,101,32,105,110,32,66,83,65,86,69
	dw	32,102,111,114,109,97,116,32
	align	4
_7245:
	dd	_7035
	dd	113
	dd	3
_7246:
	db	"i",0
	align	4
_7248:
	dd	_7035
	dd	114
	dd	3
	align	4
_412:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	49,54,45,99,111,108,111,114,32,112,97,108,101,116,116,101
	dw	115,32,109,105,115,115,105,110,103,32
	align	4
_7251:
	dd	_7035
	dd	116
	dd	3
	align	4
_7259:
	dd	3
	dd	0
	dd	0
	align	4
_7253:
	dd	_7035
	dd	117
	dd	4
_7388:
	db	"loadpalette",0
_7389:
	db	"palnum",0
_7390:
	db	"[]:RGBP",0
	align	4
_7387:
	dd	1
	dd	_7388
	dd	2
	dd	_7389
	dd	_805
	dd	-12
	dd	2
	dd	_945
	dd	_7390
	dd	-16
	dd	0
	align	4
_7268:
	dd	_7035
	dd	124
	dd	2
_7269:
	db	":RGBP",0
	align	4
_7271:
	dd	_7035
	dd	126
	dd	2
	align	4
_7275:
	dd	3
	dd	0
	dd	0
	align	4
_7273:
	dd	_7035
	dd	127
	dd	4
	align	4
_416:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	108,111,97,100,112,97,108,101,116,116,101,58,32,105,110,118
	dw	97,108,105,100,32,112,97,108,110,117,109,32
	align	4
_7274:
	dd	_7035
	dd	128
	dd	4
	align	4
_7276:
	dd	_7035
	dd	130
	dd	2
	align	4
_417:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	112,97,108,101,116,116,101,115,46,98,105,110
	align	4
_7278:
	dd	3
	dd	0
	dd	0
_7385:
	db	"headsize",0
_7386:
	db	"palbuf",0
	align	4
_7384:
	dd	3
	dd	0
	dd	2
	dd	_7385
	dd	_1017
	dd	-4
	dd	2
	dd	_4522
	dd	_1017
	dd	-8
	dd	2
	dd	_7386
	dd	_3588
	dd	-20
	dd	2
	dd	_2730
	dd	_2294
	dd	-24
	dd	0
	align	4
_7280:
	dd	_7035
	dd	136
	dd	4
	align	4
_7283:
	dd	_7035
	dd	137
	dd	4
_7284:
	db	"b",0
	align	4
_7286:
	dd	_7035
	dd	139
	dd	4
	align	4
_7288:
	dd	_7035
	dd	140
	dd	4
	align	4
_7289:
	dd	_7035
	dd	141
	dd	4
	align	4
_7290:
	dd	_7035
	dd	142
	dd	3
	align	4
_7291:
	dd	_7035
	dd	143
	dd	3
	align	4
_7298:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-28
	dd	0
	align	4
_7294:
	dd	_7035
	dd	144
	dd	4
	align	4
_7299:
	dd	_7035
	dd	147
	dd	4
	align	4
_7300:
	dd	_7035
	dd	148
	dd	4
	align	4
_7383:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-32
	dd	0
	align	4
_7303:
	dd	_7035
	dd	149
	dd	4
	align	4
_7311:
	dd	_7035
	dd	150
	dd	6
	align	4
_7319:
	dd	_7035
	dd	151
	dd	6
	align	4
_7327:
	dd	_7035
	dd	152
	dd	6
	align	4
_7335:
	dd	_7035
	dd	153
	dd	4
	align	4
_428:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	32,66,58,32
	align	4
_427:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	32,71,58,32
	align	4
_426:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	32,105,115,32,32,82,58,32
	align	4
_425:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	32,102,111,114,32,112,97,108,101,116,116,101,58,32
	align	4
_424:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	67,111,108,111,114,58,32
	align	4
_7348:
	dd	_7035
	dd	154
	dd	4
	align	4
_7359:
	dd	3
	dd	0
	dd	0
	align	4
_7350:
	dd	_7035
	dd	155
	dd	5
	align	4
_7382:
	dd	3
	dd	0
	dd	0
	align	4
_7361:
	dd	_7035
	dd	157
	dd	5
_7476:
	db	"loadset",0
_7477:
	db	"l",0
_7478:
	db	"ub",0
_7479:
	db	"sptr",0
_7480:
	db	"bptr",0
	align	4
_7475:
	dd	1
	dd	_7476
	dd	2
	dd	_873
	dd	_819
	dd	-12
	dd	2
	dd	_805
	dd	_805
	dd	-16
	dd	2
	dd	_7477
	dd	_805
	dd	-20
	dd	2
	dd	_3202
	dd	_805
	dd	-24
	dd	2
	dd	_2293
	dd	_2294
	dd	-28
	dd	2
	dd	_2368
	dd	_805
	dd	-32
	dd	2
	dd	_2835
	dd	_805
	dd	-36
	dd	2
	dd	_7478
	dd	_909
	dd	-4
	dd	2
	dd	_2837
	dd	_805
	dd	-40
	dd	2
	dd	_7479
	dd	_909
	dd	-8
	dd	2
	dd	_7480
	dd	_915
	dd	-44
	dd	2
	dd	_4237
	dd	_805
	dd	-48
	dd	2
	dd	_4238
	dd	_805
	dd	-52
	dd	0
	align	4
_7391:
	dd	_7035
	dd	169
	dd	2
	align	4
_7393:
	dd	_7035
	dd	170
	dd	2
	align	4
_7395:
	dd	_7035
	dd	171
	dd	2
	align	4
_7397:
	dd	_7035
	dd	172
	dd	2
	align	4
_7399:
	dd	_7035
	dd	173
	dd	2
	align	4
_7401:
	dd	_7035
	dd	174
	dd	2
	align	4
_7403:
	dd	_7035
	dd	175
	dd	2
_7404:
	db	"i",0
	align	4
_7406:
	dd	_7035
	dd	176
	dd	2
	align	4
_429:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	67,104,101,99,107,32,102,105,108,101,58,32
	align	4
_7407:
	dd	_7035
	dd	177
	dd	2
	align	4
_7411:
	dd	3
	dd	0
	dd	0
	align	4
_7409:
	dd	_7035
	dd	178
	dd	3
	align	4
_430:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	70,105,108,101,32,100,111,101,115,32,110,111,116,32,101,120
	dw	105,115,116
	align	4
_7410:
	dd	_7035
	dd	179
	dd	3
	align	4
_7412:
	dd	_7035
	dd	181
	dd	2
	align	4
_7416:
	dd	3
	dd	0
	dd	0
	align	4
_7414:
	dd	_7035
	dd	182
	dd	3
	align	4
_432:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	32,111,102,32
	align	4
_431:
	dd	_bbStringClass
	dd	2147483647
	dd	31
	dw	108,111,97,100,115,101,116,58,32,97,116,116,101,109,112,116
	dw	32,116,111,32,114,101,97,100,32,105,110,100,101,120,32
	align	4
_7415:
	dd	_7035
	dd	183
	dd	3
	align	4
_7419:
	dd	3
	dd	0
	dd	0
	align	4
_7418:
	dd	_7035
	dd	185
	dd	3
	align	4
_7420:
	dd	_7035
	dd	188
	dd	2
	align	4
_7421:
	dd	_7035
	dd	189
	dd	2
	align	4
_7422:
	dd	_7035
	dd	193
	dd	2
	align	4
_7423:
	dd	_7035
	dd	194
	dd	2
	align	4
_7424:
	dd	_7035
	dd	208
	dd	3
	align	4
_433:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	98,117,102,102,101,114,32,115,105,122,101,32,116,111,32,114
	dw	101,97,100,32,61,32
	align	4
_7425:
	dd	_7035
	dd	211
	dd	3
	align	4
_7427:
	dd	_7035
	dd	212
	dd	3
	align	4
_7429:
	dd	_7035
	dd	213
	dd	3
	align	4
_7473:
	dd	3
	dd	0
	dd	0
	align	4
_7432:
	dd	_7035
	dd	215
	dd	4
	align	4
_7433:
	dd	_7035
	dd	217
	dd	4
	align	4
_7440:
	dd	3
	dd	0
	dd	0
	align	4
_7435:
	dd	_7035
	dd	218
	dd	5
	align	4
_7439:
	dd	_7035
	dd	219
	dd	5
_7472:
	db	"c",0
	align	4
_7471:
	dd	3
	dd	0
	dd	2
	dd	_7472
	dd	_915
	dd	-56
	dd	0
	align	4
_7442:
	dd	_7035
	dd	221
	dd	5
	align	4
_7448:
	dd	_7035
	dd	223
	dd	5
	align	4
_7458:
	dd	3
	dd	0
	dd	0
	align	4
_7452:
	dd	_7035
	dd	224
	dd	6
	align	4
_7459:
	dd	_7035
	dd	226
	dd	5
	align	4
_7460:
	dd	_7035
	dd	228
	dd	5
	align	4
_7464:
	dd	_7035
	dd	233
	dd	5
	align	4
_7465:
	dd	_7035
	dd	234
	dd	5
	align	4
_7466:
	dd	_7035
	dd	235
	dd	5
	align	4
_7470:
	dd	3
	dd	0
	dd	0
	align	4
_7468:
	dd	_7035
	dd	236
	dd	6
	align	4
_7469:
	dd	_7035
	dd	237
	dd	6
	align	4
_7474:
	dd	_7035
	dd	248
	dd	2
_7587:
	db	"loadmxs",0
_7588:
	db	"fil",0
_7589:
	db	"plane",0
_7590:
	db	"tpix",0
	align	4
_7586:
	dd	1
	dd	_7587
	dd	2
	dd	_7588
	dd	_819
	dd	-8
	dd	2
	dd	_2291
	dd	_805
	dd	-12
	dd	2
	dd	_1029
	dd	_944
	dd	-16
	dd	2
	dd	_2293
	dd	_2294
	dd	-20
	dd	2
	dd	_919
	dd	_805
	dd	-24
	dd	2
	dd	_920
	dd	_805
	dd	-28
	dd	2
	dd	_7479
	dd	_805
	dd	-32
	dd	2
	dd	_7589
	dd	_805
	dd	-36
	dd	2
	dd	_2837
	dd	_805
	dd	-40
	dd	2
	dd	_7590
	dd	_1080
	dd	-44
	dd	0
	align	4
_7481:
	dd	_7035
	dd	258
	dd	2
	align	4
_7483:
	dd	_7035
	dd	259
	dd	2
	align	4
_7486:
	dd	_7035
	dd	260
	dd	2
	align	4
_7488:
	dd	_7035
	dd	261
	dd	2
	align	4
_7490:
	dd	_7035
	dd	263
	dd	2
	align	4
_7493:
	dd	3
	dd	0
	dd	0
	align	4
_7492:
	dd	_7035
	dd	263
	dd	32
	align	4
_7494:
	dd	_7035
	dd	264
	dd	2
	align	4
_7498:
	dd	3
	dd	0
	dd	0
	align	4
_7496:
	dd	_7035
	dd	265
	dd	3
	align	4
_437:
	dd	_bbStringClass
	dd	2147483647
	dd	52
	dw	108,111,97,100,109,120,115,58,32,97,116,116,101,109,112,116
	dw	101,100,32,116,111,32,114,101,97,100,32,97,32,110,101,103
	dw	97,116,105,118,101,32,114,101,99,111,114,100,32,110,117,109
	dw	98,101,114,32
	align	4
_7497:
	dd	_7035
	dd	266
	dd	3
	align	4
_7499:
	dd	_7035
	dd	269
	dd	2
	align	4
_7500:
	dd	_7035
	dd	271
	dd	2
	align	4
_7505:
	dd	3
	dd	0
	dd	0
	align	4
_7502:
	dd	_7035
	dd	272
	dd	3
	align	4
_441:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	32,98,121,116,101,115
	align	4
_440:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	32,105,115,32,111,110,108,121,32
	align	4
_439:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	59,32
	align	4
_438:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	108,111,97,100,112,97,103,101,58,32,119,97,110,116,101,100
	dw	32,112,97,103,101,32
	align	4
_7503:
	dd	_7035
	dd	273
	dd	3
	align	4
_7504:
	dd	_7035
	dd	274
	dd	3
	align	4
_7506:
	dd	_7035
	dd	278
	dd	2
	align	4
_7507:
	dd	_7035
	dd	281
	dd	2
	align	4
_7513:
	dd	3
	dd	0
	dd	0
	align	4
_7509:
	dd	_7035
	dd	282
	dd	3
	align	4
_7510:
	dd	_7035
	dd	283
	dd	3
	align	4
_7514:
	dd	_7035
	dd	288
	dd	2
	align	4
_7516:
	dd	_7035
	dd	289
	dd	2
	align	4
_7542:
	dd	3
	dd	0
	dd	0
	align	4
_7518:
	dd	_7035
	dd	290
	dd	3
	align	4
_7541:
	dd	3
	dd	0
	dd	0
	align	4
_7520:
	dd	_7035
	dd	292
	dd	4
	align	4
_7521:
	dd	_7035
	dd	294
	dd	4
	align	4
_7540:
	dd	3
	dd	0
	dd	2
	dd	_908
	dd	_909
	dd	-4
	dd	0
	align	4
_7523:
	dd	_7035
	dd	295
	dd	5
	align	4
_7526:
	dd	3
	dd	0
	dd	0
	align	4
_7525:
	dd	_7035
	dd	295
	dd	20
	align	4
_7527:
	dd	_7035
	dd	296
	dd	5
	align	4
_7529:
	dd	_7035
	dd	298
	dd	5
	align	4
_7539:
	dd	_7035
	dd	300
	dd	5
	align	4
_7543:
	dd	_7035
	dd	306
	dd	2
	align	4
_7545:
	dd	_7035
	dd	307
	dd	2
	align	4
_7546:
	dd	_7035
	dd	308
	dd	2
	align	4
_7556:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-48
	dd	0
	align	4
_7549:
	dd	_7035
	dd	309
	dd	3
	align	4
_7555:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-52
	dd	0
	align	4
_7552:
	dd	_7035
	dd	311
	dd	4
	align	4
_7557:
	dd	_7035
	dd	316
	dd	2
	align	4
_7575:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-56
	dd	0
	align	4
_7560:
	dd	_7035
	dd	317
	dd	3
	align	4
_7574:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-60
	dd	0
	align	4
_7563:
	dd	_7035
	dd	319
	dd	4
	align	4
_7568:
	dd	3
	dd	0
	dd	0
	align	4
_7565:
	dd	_7035
	dd	320
	dd	5
	align	4
_7573:
	dd	3
	dd	0
	dd	0
	align	4
_7570:
	dd	_7035
	dd	322
	dd	5
	align	4
_7576:
	dd	_7035
	dd	327
	dd	2
	align	4
_7584:
	dd	_7035
	dd	330
	dd	2
	align	4
_7585:
	dd	_7035
	dd	331
	dd	2
_7594:
	db	"RGB",0
_7595:
	db	"red",0
_7596:
	db	"green",0
_7597:
	db	"blue",0
	align	4
_7593:
	dd	1
	dd	_7594
	dd	2
	dd	_7595
	dd	_805
	dd	-4
	dd	2
	dd	_7596
	dd	_805
	dd	-8
	dd	2
	dd	_7597
	dd	_805
	dd	-12
	dd	0
_7592:
	db	"C:/Monkey/projects/Hamster-Monkey/ohrrpgce2/GUI-CUSTOM/includes/drawing.bmx",0
	align	4
_7591:
	dd	_7592
	dd	2
	dd	1
_7600:
	db	"ARGB",0
_7601:
	db	"alpha",0
	align	4
_7599:
	dd	1
	dd	_7600
	dd	2
	dd	_7601
	dd	_805
	dd	-4
	dd	2
	dd	_7595
	dd	_805
	dd	-8
	dd	2
	dd	_7596
	dd	_805
	dd	-12
	dd	2
	dd	_7597
	dd	_805
	dd	-16
	dd	0
	align	4
_7598:
	dd	_7592
	dd	6
	dd	1
_7623:
	db	"IntToRGBA",0
_7624:
	db	"Value",0
_7625:
	db	"rgba",0
	align	4
_7622:
	dd	1
	dd	_7623
	dd	2
	dd	_7624
	dd	_805
	dd	-4
	dd	2
	dd	_7625
	dd	_915
	dd	-8
	dd	0
	align	4
_7602:
	dd	_7592
	dd	10
	dd	2
_7603:
	db	"i",0
	align	4
_7605:
	dd	_7592
	dd	11
	dd	2
	align	4
_7609:
	dd	_7592
	dd	12
	dd	2
	align	4
_7613:
	dd	_7592
	dd	13
	dd	2
	align	4
_7617:
	dd	_7592
	dd	14
	dd	2
	align	4
_7621:
	dd	_7592
	dd	15
	dd	2
	align	4
_7627:
	dd	1
	dd	_811
	dd	2
	dd	_2142
	dd	_5909
	dd	-4
	dd	0
	align	4
_7626:
	dd	3
	dd	0
	dd	0
_11779:
	db	"filepath",0
_11780:
	db	"rpgfile",0
_9642:
	db	":pub.maxml.xmlDocument",0
_11781:
	db	"root",0
_7721:
	db	":pub.maxml.xmlNode",0
_11782:
	db	"data_node",0
_11783:
	db	"mnum",0
_11784:
	db	"general_node",0
_11785:
	db	"maps_node",0
_11786:
	db	"media_node",0
_11787:
	db	"palette_node",0
_11788:
	db	"master_p",0
_11789:
	db	"game_p",0
_11790:
	db	"countp",0
_11791:
	db	"tileset_node",0
_11792:
	db	"backdrop_node",0
_11793:
	db	"sprite_node",0
_11794:
	db	"song_node",0
_11795:
	db	"sound_node",0
	align	4
_11778:
	dd	1
	dd	_1243
	dd	2
	dd	_2142
	dd	_5909
	dd	-8
	dd	2
	dd	_11779
	dd	_819
	dd	-12
	dd	2
	dd	_2188
	dd	_1156
	dd	-16
	dd	2
	dd	_11780
	dd	_9642
	dd	-20
	dd	2
	dd	_11781
	dd	_7721
	dd	-24
	dd	2
	dd	_11782
	dd	_7721
	dd	-28
	dd	2
	dd	_11783
	dd	_805
	dd	-32
	dd	2
	dd	_11784
	dd	_7721
	dd	-36
	dd	2
	dd	_11785
	dd	_7721
	dd	-40
	dd	2
	dd	_11786
	dd	_7721
	dd	-44
	dd	2
	dd	_11787
	dd	_7721
	dd	-48
	dd	2
	dd	_11788
	dd	_7721
	dd	-52
	dd	2
	dd	_11789
	dd	_7721
	dd	-56
	dd	2
	dd	_11790
	dd	_805
	dd	-60
	dd	2
	dd	_11791
	dd	_7721
	dd	-64
	dd	2
	dd	_11792
	dd	_7721
	dd	-68
	dd	2
	dd	_11793
	dd	_7721
	dd	-72
	dd	2
	dd	_11794
	dd	_7721
	dd	-76
	dd	2
	dd	_11795
	dd	_7721
	dd	-80
	dd	0
_7630:
	db	"C:/Monkey/projects/Hamster-Monkey/ohrrpgce2/GUI-CUSTOM/includes/rpgxml.bmx",0
	align	4
_7629:
	dd	_7630
	dd	9
	dd	3
	align	4
_7632:
	dd	_7630
	dd	11
	dd	3
	align	4
_7636:
	dd	_7630
	dd	12
	dd	3
	align	4
_7640:
	dd	3
	dd	0
	dd	0
	align	4
_7638:
	dd	_7630
	dd	13
	dd	4
	align	4
_463:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	67,111,117,108,100,32,110,111,116,32,99,114,101,97,116,101
	dw	32,82,80,71,32,102,105,108,101
	align	4
_7639:
	dd	_7630
	dd	14
	dd	4
	align	4
_7641:
	dd	_7630
	dd	17
	dd	3
	align	4
_464:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	77,72,82,80,71
	align	4
_7649:
	dd	_7630
	dd	18
	dd	3
	align	4
_465:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	118,101,114,115,105,111,110
	align	4
_466:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	48,46,53
	align	4
_7659:
	dd	_7630
	dd	19
	dd	3
	align	4
_467:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	103,110,97,109,101
	align	4
_468:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	82,80,71,45,71,65,77,69
	align	4
_7669:
	dd	_7630
	dd	22
	dd	3
	align	4
_469:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	100,97,116,97
	align	4
_7673:
	dd	_7630
	dd	24
	dd	3
	align	4
_7675:
	dd	_7630
	dd	25
	dd	3
	align	4
_470:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	103,101,110,101,114,97,108
	align	4
_7679:
	dd	_7630
	dd	26
	dd	4
	align	4
_471:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	99,111,117,110,116
	align	4
_7689:
	dd	_7630
	dd	27
	dd	4
_7720:
	db	"entry_node",0
	align	4
_7719:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-84
	dd	2
	dd	_7720
	dd	_7721
	dd	-88
	dd	0
	align	4
_7693:
	dd	_7630
	dd	29
	dd	5
	align	4
_475:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	100,97,116
	align	4
_7697:
	dd	_7630
	dd	30
	dd	5
	align	4
_476:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	105,100
	align	4
_7707:
	dd	_7630
	dd	31
	dd	5
	align	4
_477:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	118,97,108
	align	4
_7722:
	dd	_7630
	dd	37
	dd	3
	align	4
_478:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	109,97,112,115
	align	4
_7726:
	dd	_7630
	dd	39
	dd	3
	align	4
_7736:
	dd	_7630
	dd	40
	dd	3
_9637:
	db	"map_node",0
_9638:
	db	"npcs_node",0
_9639:
	db	"doors_node",0
_9640:
	db	"doorlinks_node",0
_9641:
	db	"mapdoc",0
_9643:
	db	"maproot",0
_9644:
	db	"tsetslist",0
_9645:
	db	"haveset",0
_9646:
	db	"gidt",0
	align	4
_9636:
	dd	3
	dd	0
	dd	2
	dd	_2954
	dd	_3058
	dd	-92
	dd	2
	dd	_9637
	dd	_7721
	dd	-96
	dd	2
	dd	_9638
	dd	_7721
	dd	-100
	dd	2
	dd	_9639
	dd	_7721
	dd	-104
	dd	2
	dd	_9640
	dd	_7721
	dd	-108
	dd	2
	dd	_9641
	dd	_9642
	dd	-112
	dd	2
	dd	_9643
	dd	_7721
	dd	-116
	dd	2
	dd	_9644
	dd	_824
	dd	-120
	dd	2
	dd	_9645
	dd	_909
	dd	-4
	dd	2
	dd	_805
	dd	_805
	dd	-124
	dd	2
	dd	_9646
	dd	_915
	dd	-128
	dd	0
	align	4
_7746:
	dd	_7630
	dd	42
	dd	4
	align	4
_482:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	109,97,112
	align	4
_7750:
	dd	_7630
	dd	43
	dd	4
	align	4
_7760:
	dd	_7630
	dd	44
	dd	4
	align	4
_483:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	110,97,109,101
	align	4
_484:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	38,97,112,111,115,59
	align	4
_7772:
	dd	_7630
	dd	46
	dd	4
	align	4
_485:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	115,111,117,114,99,101
	align	4
_487:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,120,109,108
	align	4
_486:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	109,97,112,115,47,109,97,112,95
	align	4
_7782:
	dd	_7630
	dd	50
	dd	4
	align	4
_488:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	110,112,99,115
	align	4
_7786:
	dd	_7630
	dd	51
	dd	4
	align	4
_7798:
	dd	_7630
	dd	53
	dd	5
	align	4
_8419:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-132
	dd	0
	align	4
_7804:
	dd	_7630
	dd	54
	dd	6
_8418:
	db	"npc_node",0
	align	4
_8417:
	dd	3
	dd	0
	dd	2
	dd	_8418
	dd	_7721
	dd	-136
	dd	0
	align	4
_7813:
	dd	_7630
	dd	56
	dd	6
	align	4
_492:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	110,112,99
	align	4
_7817:
	dd	_7630
	dd	57
	dd	7
	align	4
_493:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	120
	align	4
_7834:
	dd	_7630
	dd	58
	dd	7
	align	4
_494:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	121
	align	4
_7851:
	dd	_7630
	dd	59
	dd	7
	align	4
_7868:
	dd	_7630
	dd	60
	dd	7
	align	4
_495:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	100,105,114
	align	4
_7885:
	dd	_7630
	dd	61
	dd	7
	align	4
_496:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	102,114,97,109,101
	align	4
_7902:
	dd	_7630
	dd	64
	dd	7
	align	4
_497:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	112,105,99
	align	4
_7929:
	dd	_7630
	dd	65
	dd	7
	align	4
_7982:
	dd	3
	dd	0
	dd	0
	align	4
_7948:
	dd	_7630
	dd	67
	dd	8
	align	4
_498:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	112,97,108
	align	4
_8011:
	dd	3
	dd	0
	dd	0
	align	4
_7984:
	dd	_7630
	dd	69
	dd	8
	align	4
_8012:
	dd	_7630
	dd	71
	dd	7
	align	4
_499:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	109,116
	align	4
_8039:
	dd	_7630
	dd	72
	dd	7
	align	4
_500:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	115,112,100
	align	4
_8066:
	dd	_7630
	dd	73
	dd	7
	align	4
_501:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	116,98
	align	4
_8093:
	dd	_7630
	dd	74
	dd	7
	align	4
_502:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	102,116
	align	4
_8120:
	dd	_7630
	dd	75
	dd	7
	align	4
_503:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	105,116,109
	align	4
_8147:
	dd	_7630
	dd	76
	dd	7
	align	4
_504:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	112,116
	align	4
_8174:
	dd	_7630
	dd	77
	dd	7
	align	4
_505:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	97,99,116
	align	4
_8201:
	dd	_7630
	dd	78
	dd	7
	align	4
_506:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	116,97,103,49
	align	4
_8228:
	dd	_7630
	dd	79
	dd	7
	align	4
_507:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	116,97,103,50
	align	4
_8255:
	dd	_7630
	dd	80
	dd	7
	align	4
_508:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	117,116,103
	align	4
_8282:
	dd	_7630
	dd	81
	dd	7
	align	4
_509:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	115,99,114
	align	4
_8309:
	dd	_7630
	dd	82
	dd	7
	align	4
_510:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	115,116,103
	align	4
_8336:
	dd	_7630
	dd	83
	dd	7
	align	4
_511:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	118,101,104
	align	4
_8363:
	dd	_7630
	dd	84
	dd	7
	align	4
_512:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	100,122
	align	4
_8390:
	dd	_7630
	dd	85
	dd	7
	align	4
_513:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	100,119,122
	align	4
_8420:
	dd	_7630
	dd	94
	dd	4
	align	4
_514:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	100,111,111,114,115
	align	4
_8424:
	dd	_7630
	dd	95
	dd	4
	align	4
_8436:
	dd	_7630
	dd	98
	dd	5
_8501:
	db	"door_node",0
	align	4
_8500:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-140
	dd	2
	dd	_8501
	dd	_7721
	dd	-144
	dd	0
	align	4
_8442:
	dd	_7630
	dd	99
	dd	6
	align	4
_518:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	100,111,111,114
	align	4
_8446:
	dd	_7630
	dd	100
	dd	6
	align	4
_8463:
	dd	_7630
	dd	101
	dd	6
	align	4
_8480:
	dd	_7630
	dd	102
	dd	6
	align	4
_519:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	98,105,116,115
	align	4
_8502:
	dd	_7630
	dd	105
	dd	4
	align	4
_520:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	100,111,111,114,108,105,110,107,115
	align	4
_8506:
	dd	_7630
	dd	106
	dd	4
	align	4
_8518:
	dd	_7630
	dd	109
	dd	5
_8614:
	db	"doorlink_node",0
	align	4
_8613:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-148
	dd	2
	dd	_8614
	dd	_7721
	dd	-152
	dd	0
	align	4
_8524:
	dd	_7630
	dd	110
	dd	6
	align	4
_524:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	100,111,111,114,108,105,110,107
	align	4
_8528:
	dd	_7630
	dd	111
	dd	6
	align	4
_8545:
	dd	_7630
	dd	112
	dd	6
	align	4
_525:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	100,101,115,116
	align	4
_8562:
	dd	_7630
	dd	113
	dd	6
	align	4
_526:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	100,101,115,116,95,109,97,112
	align	4
_8579:
	dd	_7630
	dd	114
	dd	6
	align	4
_8596:
	dd	_7630
	dd	115
	dd	6
	align	4
_8615:
	dd	_7630
	dd	123
	dd	4
	align	4
_8617:
	dd	_7630
	dd	125
	dd	4
	align	4
_8621:
	dd	_7630
	dd	126
	dd	4
	align	4
_8629:
	dd	_7630
	dd	127
	dd	4
	align	4
_527:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	49,46,48
	align	4
_8639:
	dd	_7630
	dd	128
	dd	4
	align	4
_528:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	111,114,105,101,110,116,97,116,105,111,110
	align	4
_529:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	111,114,116,104,111,103,111,110,97,108
	align	4
_8649:
	dd	_7630
	dd	129
	dd	4
	align	4
_530:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	119,105,100,116,104
	align	4
_8666:
	dd	_7630
	dd	130
	dd	4
	align	4
_531:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	104,101,105,103,104,116
	align	4
_8683:
	dd	_7630
	dd	131
	dd	4
	align	4
_8729:
	dd	3
	dd	0
	dd	0
	align	4
_8695:
	dd	_7630
	dd	132
	dd	5
	align	4
_532:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	116,105,108,101,119,105,100,116,104
	align	4
_8712:
	dd	_7630
	dd	133
	dd	5
	align	4
_533:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	116,105,108,101,104,101,105,103,104,116
	align	4
_8775:
	dd	3
	dd	0
	dd	0
	align	4
_8731:
	dd	_7630
	dd	135
	dd	5
	align	4
_8753:
	dd	_7630
	dd	136
	dd	5
	align	4
_8776:
	dd	_7630
	dd	139
	dd	4
	align	4
_8778:
	dd	_7630
	dd	140
	dd	4
	align	4
_8780:
	dd	_7630
	dd	141
	dd	4
	align	4
_8816:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-156
	dd	0
	align	4
_8786:
	dd	_7630
	dd	142
	dd	5
	align	4
_8787:
	dd	_7630
	dd	143
	dd	5
	align	4
_8806:
	dd	3
	dd	0
	dd	2
	dd	_2759
	dd	_819
	dd	-160
	dd	0
	align	4
_8797:
	dd	_7630
	dd	145
	dd	6
	align	4
_8805:
	dd	3
	dd	0
	dd	0
	align	4
_8804:
	dd	_7630
	dd	146
	dd	7
	align	4
_8807:
	dd	_7630
	dd	150
	dd	5
	align	4
_8815:
	dd	3
	dd	0
	dd	0
	align	4
_8809:
	dd	_7630
	dd	151
	dd	6
	align	4
_8817:
	dd	_7630
	dd	155
	dd	4
	align	4
_8819:
	dd	_7630
	dd	156
	dd	4
_8820:
	db	"i",0
	align	4
_8824:
	dd	_7630
	dd	157
	dd	4
_9014:
	db	"tilesetnode",0
_9015:
	db	"imgnode",0
	align	4
_9013:
	dd	3
	dd	0
	dd	2
	dd	_2759
	dd	_819
	dd	-164
	dd	2
	dd	_9014
	dd	_7721
	dd	-168
	dd	2
	dd	_9015
	dd	_7721
	dd	-172
	dd	0
	align	4
_8834:
	dd	_7630
	dd	158
	dd	5
	align	4
_8870:
	dd	_7630
	dd	160
	dd	5
	align	4
_543:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	116,105,108,101,115,101,116
	align	4
_8874:
	dd	_7630
	dd	161
	dd	5
	align	4
_544:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	102,105,114,115,116,103,105,100
	align	4
_8916:
	dd	_7630
	dd	162
	dd	5
	align	4
_8926:
	dd	_7630
	dd	163
	dd	5
	align	4
_8943:
	dd	_7630
	dd	164
	dd	5
	align	4
_8960:
	dd	_7630
	dd	166
	dd	5
	align	4
_545:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	105,109,97,103,101
	align	4
_8964:
	dd	_7630
	dd	167
	dd	5
	align	4
_546:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	116,105,108,101,115,101,116,95
	align	4
_8974:
	dd	_7630
	dd	168
	dd	5
	align	4
_8993:
	dd	_7630
	dd	169
	dd	5
	align	4
_9012:
	dd	_7630
	dd	171
	dd	5
	align	4
_9016:
	dd	_7630
	dd	174
	dd	4
_9217:
	db	"layernode",0
_9218:
	db	"mapdatanode",0
_9219:
	db	"gid",0
_9220:
	db	"mapval",0
	align	4
_9216:
	dd	3
	dd	0
	dd	2
	dd	_7477
	dd	_805
	dd	-176
	dd	2
	dd	_9217
	dd	_7721
	dd	-180
	dd	2
	dd	_9218
	dd	_7721
	dd	-184
	dd	2
	dd	_9219
	dd	_805
	dd	-188
	dd	2
	dd	_984
	dd	_805
	dd	-192
	dd	2
	dd	_9220
	dd	_819
	dd	-196
	dd	0
	align	4
_9022:
	dd	_7630
	dd	175
	dd	5
	align	4
_550:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	108,97,121,101,114
	align	4
_9026:
	dd	_7630
	dd	176
	dd	5
	align	4
_9036:
	dd	_7630
	dd	177
	dd	5
	align	4
_9053:
	dd	_7630
	dd	178
	dd	5
	align	4
_9070:
	dd	_7630
	dd	180
	dd	5
	align	4
_9074:
	dd	_7630
	dd	181
	dd	5
	align	4
_551:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	101,110,99,111,100,105,110,103
	align	4
_552:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	99,115,118
	align	4
_9084:
	dd	_7630
	dd	183
	dd	5
	align	4
_9093:
	dd	_7630
	dd	184
	dd	5
	align	4
_9095:
	dd	_7630
	dd	185
	dd	5
	align	4
_9097:
	dd	_7630
	dd	186
	dd	5
_9207:
	db	"tm",0
	align	4
_9206:
	dd	3
	dd	0
	dd	2
	dd	_9207
	dd	_805
	dd	-200
	dd	0
	align	4
_9108:
	dd	_7630
	dd	190
	dd	6
	align	4
_9160:
	dd	3
	dd	0
	dd	0
	align	4
_9117:
	dd	_7630
	dd	191
	dd	7
	align	4
_9146:
	dd	3
	dd	0
	dd	0
	align	4
_9119:
	dd	_7630
	dd	193
	dd	8
	align	4
_9132:
	dd	3
	dd	0
	dd	0
	align	4
_9131:
	dd	_7630
	dd	194
	dd	9
	align	4
_556:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	48,44
	align	4
_9145:
	dd	3
	dd	0
	dd	0
	align	4
_9134:
	dd	_7630
	dd	196
	dd	9
	align	4
_557:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	44
	align	4
_9159:
	dd	3
	dd	0
	dd	0
	align	4
_9148:
	dd	_7630
	dd	199
	dd	8
	align	4
_9205:
	dd	3
	dd	0
	dd	0
	align	4
_9162:
	dd	_7630
	dd	202
	dd	7
	align	4
_9191:
	dd	3
	dd	0
	dd	0
	align	4
_9164:
	dd	_7630
	dd	204
	dd	8
	align	4
_9177:
	dd	3
	dd	0
	dd	0
	align	4
_9176:
	dd	_7630
	dd	205
	dd	9
	align	4
_9190:
	dd	3
	dd	0
	dd	0
	align	4
_9179:
	dd	_7630
	dd	207
	dd	9
	align	4
_9204:
	dd	3
	dd	0
	dd	0
	align	4
_9193:
	dd	_7630
	dd	210
	dd	8
	align	4
_9208:
	dd	_7630
	dd	217
	dd	5
	align	4
_9221:
	dd	_7630
	dd	220
	dd	4
	align	4
_9427:
	dd	3
	dd	0
	dd	2
	dd	_7477
	dd	_805
	dd	-204
	dd	2
	dd	_9217
	dd	_7721
	dd	-208
	dd	2
	dd	_9218
	dd	_7721
	dd	-212
	dd	2
	dd	_9219
	dd	_805
	dd	-216
	dd	2
	dd	_984
	dd	_805
	dd	-220
	dd	2
	dd	_9220
	dd	_819
	dd	-224
	dd	0
	align	4
_9227:
	dd	_7630
	dd	221
	dd	5
	align	4
_9231:
	dd	_7630
	dd	222
	dd	5
	align	4
_561:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	99,111,108,108,105,115,105,111,110,95
	align	4
_9241:
	dd	_7630
	dd	223
	dd	5
	align	4
_9258:
	dd	_7630
	dd	224
	dd	5
	align	4
_9275:
	dd	_7630
	dd	226
	dd	5
	align	4
_9279:
	dd	_7630
	dd	227
	dd	5
	align	4
_9289:
	dd	_7630
	dd	229
	dd	5
	align	4
_9291:
	dd	_7630
	dd	230
	dd	5
	align	4
_9293:
	dd	_7630
	dd	231
	dd	5
	align	4
_9295:
	dd	_7630
	dd	232
	dd	5
	align	4
_9418:
	dd	3
	dd	0
	dd	2
	dd	_9207
	dd	_805
	dd	-228
	dd	0
	align	4
_9313:
	dd	_7630
	dd	236
	dd	6
	align	4
_9372:
	dd	3
	dd	0
	dd	0
	align	4
_9329:
	dd	_7630
	dd	237
	dd	7
	align	4
_9358:
	dd	3
	dd	0
	dd	0
	align	4
_9331:
	dd	_7630
	dd	239
	dd	8
	align	4
_9344:
	dd	3
	dd	0
	dd	0
	align	4
_9343:
	dd	_7630
	dd	240
	dd	9
	align	4
_9357:
	dd	3
	dd	0
	dd	0
	align	4
_9346:
	dd	_7630
	dd	242
	dd	9
	align	4
_9371:
	dd	3
	dd	0
	dd	0
	align	4
_9360:
	dd	_7630
	dd	245
	dd	8
	align	4
_9417:
	dd	3
	dd	0
	dd	0
	align	4
_9374:
	dd	_7630
	dd	248
	dd	7
	align	4
_9403:
	dd	3
	dd	0
	dd	0
	align	4
_9376:
	dd	_7630
	dd	250
	dd	8
	align	4
_9389:
	dd	3
	dd	0
	dd	0
	align	4
_9388:
	dd	_7630
	dd	251
	dd	9
	align	4
_9402:
	dd	3
	dd	0
	dd	0
	align	4
_9391:
	dd	_7630
	dd	253
	dd	9
	align	4
_9416:
	dd	3
	dd	0
	dd	0
	align	4
_9405:
	dd	_7630
	dd	256
	dd	8
	align	4
_9419:
	dd	_7630
	dd	263
	dd	5
	align	4
_9428:
	dd	_7630
	dd	266
	dd	4
	align	4
_9620:
	dd	3
	dd	0
	dd	2
	dd	_7477
	dd	_805
	dd	-232
	dd	2
	dd	_9217
	dd	_7721
	dd	-236
	dd	2
	dd	_9218
	dd	_7721
	dd	-240
	dd	2
	dd	_9219
	dd	_805
	dd	-244
	dd	2
	dd	_984
	dd	_805
	dd	-248
	dd	2
	dd	_9220
	dd	_819
	dd	-252
	dd	0
	align	4
_9434:
	dd	_7630
	dd	267
	dd	5
	align	4
_9438:
	dd	_7630
	dd	268
	dd	5
	align	4
_568:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	101,110,101,109,121,95
	align	4
_9448:
	dd	_7630
	dd	269
	dd	5
	align	4
_9465:
	dd	_7630
	dd	270
	dd	5
	align	4
_9482:
	dd	_7630
	dd	272
	dd	5
	align	4
_9486:
	dd	_7630
	dd	273
	dd	5
	align	4
_9496:
	dd	_7630
	dd	275
	dd	5
	align	4
_9498:
	dd	_7630
	dd	276
	dd	5
	align	4
_9500:
	dd	_7630
	dd	277
	dd	5
	align	4
_9502:
	dd	_7630
	dd	278
	dd	5
	align	4
_9611:
	dd	3
	dd	0
	dd	2
	dd	_9207
	dd	_805
	dd	-256
	dd	0
	align	4
_9513:
	dd	_7630
	dd	282
	dd	6
	align	4
_9565:
	dd	3
	dd	0
	dd	0
	align	4
_9522:
	dd	_7630
	dd	283
	dd	7
	align	4
_9551:
	dd	3
	dd	0
	dd	0
	align	4
_9524:
	dd	_7630
	dd	285
	dd	8
	align	4
_9537:
	dd	3
	dd	0
	dd	0
	align	4
_9536:
	dd	_7630
	dd	286
	dd	9
	align	4
_9550:
	dd	3
	dd	0
	dd	0
	align	4
_9539:
	dd	_7630
	dd	288
	dd	9
	align	4
_9564:
	dd	3
	dd	0
	dd	0
	align	4
_9553:
	dd	_7630
	dd	291
	dd	8
	align	4
_9610:
	dd	3
	dd	0
	dd	0
	align	4
_9567:
	dd	_7630
	dd	294
	dd	7
	align	4
_9596:
	dd	3
	dd	0
	dd	0
	align	4
_9569:
	dd	_7630
	dd	296
	dd	8
	align	4
_9582:
	dd	3
	dd	0
	dd	0
	align	4
_9581:
	dd	_7630
	dd	297
	dd	9
	align	4
_9595:
	dd	3
	dd	0
	dd	0
	align	4
_9584:
	dd	_7630
	dd	299
	dd	9
	align	4
_9609:
	dd	3
	dd	0
	dd	0
	align	4
_9598:
	dd	_7630
	dd	302
	dd	8
	align	4
_9612:
	dd	_7630
	dd	309
	dd	5
	align	4
_9621:
	dd	_7630
	dd	313
	dd	4
	align	4
_9627:
	dd	3
	dd	0
	dd	0
	align	4
_9623:
	dd	_7630
	dd	314
	dd	5
	align	4
_572:
	dd	_bbStringClass
	dd	2147483647
	dd	26
	dw	67,111,110,118,101,114,116,105,110,103,32,116,111,32,84,105
	dw	108,101,100,32,84,77,88,58,32,32
	align	4
_9626:
	dd	_7630
	dd	315
	dd	5
	align	4
_9628:
	dd	_7630
	dd	317
	dd	4
	align	4
_573:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	47,109,97,112,115
	align	4
_9631:
	dd	3
	dd	0
	dd	0
	align	4
_9630:
	dd	_7630
	dd	318
	dd	5
	align	4
_9632:
	dd	_7630
	dd	321
	dd	4
	align	4
_575:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	109,97,112,95
	align	4
_574:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	47,109,97,112,115,47
	align	4
_9635:
	dd	_7630
	dd	322
	dd	4
	align	4
_9647:
	dd	_7630
	dd	326
	dd	3
	align	4
_576:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	109,101,100,105,97
	align	4
_9651:
	dd	_7630
	dd	328
	dd	3
	align	4
_577:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	112,97,108,101,116,116,101,115
	align	4
_9655:
	dd	_7630
	dd	330
	dd	3
	align	4
_578:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	109,97,115,116,101,114
	align	4
_9659:
	dd	_7630
	dd	331
	dd	3
	align	4
_9663:
	dd	3
	dd	0
	dd	0
	align	4
_9661:
	dd	_7630
	dd	332
	dd	4
	align	4
_579:
	dd	_bbStringClass
	dd	2147483647
	dd	25
	dw	67,111,110,118,101,114,116,105,110,103,32,77,97,115,116,101
	dw	114,32,80,97,108,101,116,116,101
	align	4
_9662:
	dd	_7630
	dd	333
	dd	4
	align	4
_9664:
	dd	_7630
	dd	336
	dd	3
	align	4
_9715:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-260
	dd	0
	align	4
_9667:
	dd	_7630
	dd	338
	dd	4
_9712:
	db	"palnode",0
_9713:
	db	"palbank",0
_9714:
	db	"palstream",0
	align	4
_9711:
	dd	3
	dd	0
	dd	2
	dd	_9712
	dd	_7721
	dd	-264
	dd	2
	dd	_9713
	dd	_2567
	dd	-268
	dd	2
	dd	_9714
	dd	_2294
	dd	-272
	dd	0
	align	4
_9671:
	dd	_7630
	dd	339
	dd	5
	align	4
_583:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	112,97,108,101,116,116,101
	align	4
_9675:
	dd	_7630
	dd	340
	dd	5
	align	4
_9677:
	dd	_7630
	dd	341
	dd	5
	align	4
_9679:
	dd	_7630
	dd	343
	dd	5
	align	4
_9700:
	dd	3
	dd	0
	dd	2
	dd	_7472
	dd	_805
	dd	-276
	dd	2
	dd	_914
	dd	_915
	dd	-280
	dd	0
	align	4
_9682:
	dd	_7630
	dd	346
	dd	6
	align	4
_9691:
	dd	_7630
	dd	347
	dd	6
	align	4
_9694:
	dd	_7630
	dd	348
	dd	6
	align	4
_9697:
	dd	_7630
	dd	349
	dd	6
	align	4
_9701:
	dd	_7630
	dd	353
	dd	5
	align	4
_9716:
	dd	_7630
	dd	356
	dd	3
	align	4
_9720:
	dd	3
	dd	0
	dd	0
	align	4
_9718:
	dd	_7630
	dd	357
	dd	4
	align	4
_587:
	dd	_bbStringClass
	dd	2147483647
	dd	27
	dw	67,111,110,118,101,114,116,105,110,103,32,68,101,102,97,117
	dw	108,116,32,80,97,108,101,116,116,101,115
	align	4
_9719:
	dd	_7630
	dd	358
	dd	4
	align	4
_9721:
	dd	_7630
	dd	361
	dd	3
	align	4
_588:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	103,97,109,101
	align	4
_9725:
	dd	_7630
	dd	362
	dd	3
	align	4
_9727:
	dd	_7630
	dd	363
	dd	3
	align	4
_9804:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-284
	dd	0
	align	4
_9730:
	dd	_7630
	dd	365
	dd	4
_9800:
	db	"csvpal",0
	align	4
_9799:
	dd	3
	dd	0
	dd	2
	dd	_9712
	dd	_7721
	dd	-288
	dd	2
	dd	_9800
	dd	_819
	dd	-292
	dd	0
	align	4
_9734:
	dd	_7630
	dd	366
	dd	5
	align	4
_9738:
	dd	_7630
	dd	367
	dd	5
	align	4
_9748:
	dd	_7630
	dd	368
	dd	5
	align	4
_9750:
	dd	_7630
	dd	373
	dd	5
	align	4
_9789:
	dd	3
	dd	0
	dd	2
	dd	_7472
	dd	_805
	dd	-296
	dd	2
	dd	_914
	dd	_915
	dd	-300
	dd	0
	align	4
_9753:
	dd	_7630
	dd	374
	dd	6
	align	4
_595:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	67,79,76,32,73,78,84,58,32
	align	4
_9761:
	dd	_7630
	dd	375
	dd	6
	align	4
_9770:
	dd	_7630
	dd	376
	dd	6
	align	4
_9779:
	dd	3
	dd	0
	dd	0
	align	4
_9772:
	dd	_7630
	dd	377
	dd	7
	align	4
_9788:
	dd	3
	dd	0
	dd	0
	align	4
_9781:
	dd	_7630
	dd	379
	dd	7
	align	4
_9790:
	dd	_7630
	dd	388
	dd	5
	align	4
_9798:
	dd	_7630
	dd	389
	dd	5
	align	4
_9803:
	dd	3
	dd	0
	dd	0
	align	4
_9802:
	dd	_7630
	dd	391
	dd	5
	align	4
_9805:
	dd	_7630
	dd	394
	dd	3
	align	4
_9815:
	dd	_7630
	dd	395
	dd	3
	align	4
_9819:
	dd	3
	dd	0
	dd	0
	align	4
_9817:
	dd	_7630
	dd	396
	dd	4
	align	4
_596:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	67,111,110,118,101,114,116,105,110,103,32,84,105,108,101,115
	dw	101,116,115
	align	4
_9818:
	dd	_7630
	dd	397
	dd	4
	align	4
_9820:
	dd	_7630
	dd	400
	dd	3
	align	4
_597:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	116,105,108,101,115,101,116,115
	align	4
_9824:
	dd	_7630
	dd	402
	dd	3
_9878:
	db	"tset_node",0
_9879:
	db	"spritebank",0
_9880:
	db	"frame_node",0
	align	4
_9877:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-304
	dd	2
	dd	_9878
	dd	_7721
	dd	-308
	dd	2
	dd	_9879
	dd	_2567
	dd	-312
	dd	2
	dd	_9880
	dd	_7721
	dd	-316
	dd	0
	align	4
_9830:
	dd	_7630
	dd	403
	dd	4
	align	4
_9834:
	dd	3
	dd	0
	dd	0
	align	4
_9832:
	dd	_7630
	dd	404
	dd	5
	align	4
_601:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	80,114,111,99,101,115,115,105,110,103,32,84,105,108,101,115
	dw	101,116,58,32
	align	4
_9833:
	dd	_7630
	dd	405
	dd	5
	align	4
_9835:
	dd	_7630
	dd	408
	dd	4
	align	4
_602:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	115,101,116
	align	4
_9839:
	dd	_7630
	dd	409
	dd	4
	align	4
_9849:
	dd	_7630
	dd	410
	dd	4
	align	4
_9851:
	dd	_7630
	dd	412
	dd	4
	align	4
_9855:
	dd	_7630
	dd	414
	dd	4
	align	4
_603:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	47,103,114,97,112,104,105,99,115
	align	4
_9858:
	dd	3
	dd	0
	dd	0
	align	4
_9857:
	dd	_7630
	dd	415
	dd	5
	align	4
_9859:
	dd	_7630
	dd	418
	dd	4
	align	4
_604:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	47,103,114,97,112,104,105,99,115,47
	align	4
_9869:
	dd	_7630
	dd	426
	dd	4
	align	4
_9881:
	dd	_7630
	dd	432
	dd	3
	align	4
_605:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	98,97,99,107,100,114,111,112,115
	align	4
_9885:
	dd	_7630
	dd	433
	dd	3
	align	4
_9897:
	dd	_7630
	dd	434
	dd	3
_9953:
	db	"bd_node",0
	align	4
_9952:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-320
	dd	2
	dd	_9953
	dd	_7721
	dd	-324
	dd	2
	dd	_9879
	dd	_2567
	dd	-328
	dd	0
	align	4
_9903:
	dd	_7630
	dd	435
	dd	4
	align	4
_9907:
	dd	3
	dd	0
	dd	0
	align	4
_9905:
	dd	_7630
	dd	436
	dd	5
	align	4
_609:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	80,114,111,99,101,115,115,105,110,103,32,66,97,99,107,100
	dw	114,111,112,58,32
	align	4
_9906:
	dd	_7630
	dd	437
	dd	5
	align	4
_9908:
	dd	_7630
	dd	440
	dd	4
	align	4
_9912:
	dd	_7630
	dd	441
	dd	4
	align	4
_9922:
	dd	_7630
	dd	442
	dd	4
	align	4
_9924:
	dd	_7630
	dd	446
	dd	4
	align	4
_9927:
	dd	3
	dd	0
	dd	0
	align	4
_9926:
	dd	_7630
	dd	447
	dd	5
	align	4
_9928:
	dd	_7630
	dd	449
	dd	4
	align	4
_610:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	47,103,114,97,112,104,105,99,115,47,98,97,99,107,100,114
	dw	111,112,115
	align	4
_9931:
	dd	3
	dd	0
	dd	0
	align	4
_9930:
	dd	_7630
	dd	450
	dd	5
	align	4
_9932:
	dd	_7630
	dd	454
	dd	4
	align	4
_611:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	47,103,114,97,112,104,105,99,115,47,98,97,99,107,100,114
	dw	111,112,115,47,98,100,95
	align	4
_9942:
	dd	_7630
	dd	463
	dd	4
	align	4
_612:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	98,97,99,107,100,114,111,112,115,47,98,100,95
	align	4
_9954:
	dd	_7630
	dd	470
	dd	3
	align	4
_613:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	115,112,114,105,116,101,115
	align	4
_9958:
	dd	_7630
	dd	472
	dd	3
	align	4
_9962:
	dd	3
	dd	0
	dd	0
	align	4
_9960:
	dd	_7630
	dd	473
	dd	4
	align	4
_614:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	67,111,110,118,101,114,116,105,110,103,32,87,97,108,107,97
	dw	98,111,117,116
	align	4
_9961:
	dd	_7630
	dd	474
	dd	4
	align	4
_9963:
	dd	_7630
	dd	478
	dd	3
_10229:
	db	"walkabout_node",0
	align	4
_10228:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-332
	dd	2
	dd	_10229
	dd	_7721
	dd	-336
	dd	2
	dd	_1060
	dd	_1080
	dd	-340
	dd	0
	align	4
_9969:
	dd	_7630
	dd	479
	dd	4
	align	4
_618:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	119,97,108,107,97,98,111,117,116
	align	4
_9973:
	dd	_7630
	dd	480
	dd	4
	align	4
_619:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	102,114,97,109,101,115
	align	4
_9990:
	dd	_7630
	dd	481
	dd	4
	align	4
_10005:
	dd	_7630
	dd	482
	dd	4
	align	4
_620:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	119
	align	4
_10017:
	dd	_7630
	dd	483
	dd	4
	align	4
_621:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	104
	align	4
_10029:
	dd	_7630
	dd	484
	dd	4
	align	4
_10039:
	dd	_7630
	dd	486
	dd	4
	align	4
_10052:
	dd	_7630
	dd	487
	dd	4
_10215:
	db	"spritestream",0
_10216:
	db	"csvspr",0
	align	4
_10214:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-344
	dd	2
	dd	_9880
	dd	_7721
	dd	-348
	dd	2
	dd	_9879
	dd	_2567
	dd	-352
	dd	2
	dd	_10215
	dd	_2294
	dd	-356
	dd	2
	dd	_10216
	dd	_819
	dd	-360
	dd	0
	align	4
_10063:
	dd	_7630
	dd	488
	dd	5
	align	4
_10067:
	dd	_7630
	dd	489
	dd	5
	align	4
_10069:
	dd	_7630
	dd	490
	dd	5
	align	4
_10071:
	dd	_7630
	dd	492
	dd	5
	align	4
_10073:
	dd	_7630
	dd	493
	dd	5
	align	4
_10173:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-364
	dd	0
	align	4
_10079:
	dd	_7630
	dd	494
	dd	6
	align	4
_10172:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-368
	dd	0
	align	4
_10085:
	dd	_7630
	dd	496
	dd	7
	align	4
_10111:
	dd	3
	dd	0
	dd	0
	align	4
_10093:
	dd	_7630
	dd	498
	dd	8
	align	4
_10131:
	dd	3
	dd	0
	dd	0
	align	4
_10113:
	dd	_7630
	dd	501
	dd	8
	align	4
_10132:
	dd	_7630
	dd	507
	dd	7
	align	4
_10154:
	dd	3
	dd	0
	dd	0
	align	4
_10151:
	dd	_7630
	dd	508
	dd	8
	align	4
_10171:
	dd	3
	dd	0
	dd	0
	align	4
_10156:
	dd	_7630
	dd	510
	dd	8
	align	4
_10174:
	dd	_7630
	dd	514
	dd	5
	align	4
_10175:
	dd	_7630
	dd	515
	dd	5
	align	4
_10183:
	dd	_7630
	dd	516
	dd	5
	align	4
_10186:
	dd	3
	dd	0
	dd	0
	align	4
_10185:
	dd	_7630
	dd	517
	dd	6
	align	4
_10187:
	dd	_7630
	dd	519
	dd	5
	align	4
_631:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	47,103,114,97,112,104,105,99,115,47,119,97,108,107,97,98
	dw	111,117,116
	align	4
_10190:
	dd	3
	dd	0
	dd	0
	align	4
_10189:
	dd	_7630
	dd	520
	dd	6
	align	4
_10191:
	dd	_7630
	dd	522
	dd	5
	align	4
_632:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	102,114,97,109,101,95
	align	4
_634:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	95
	align	4
_633:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	103,114,97,112,104,105,99,115,47,119,97,108,107,97,98,111
	dw	117,116,47
	align	4
_10201:
	dd	_7630
	dd	523
	dd	5
	align	4
_635:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	47,103,114,97,112,104,105,99,115,47,119,97,108,107,97,98
	dw	111,117,116,47
	align	4
_10217:
	dd	_7630
	dd	527
	dd	4
	align	4
_636:
	dd	_bbStringClass
	dd	2147483647
	dd	28
	dw	47,103,114,97,112,104,105,99,115,47,119,97,108,107,97,98
	dw	111,117,116,47,102,117,108,108,115,101,116,95
	align	4
_10218:
	dd	_7630
	dd	529
	dd	4
	align	4
_637:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	102,117,108,108,115,101,116
	align	4
_638:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	119,97,108,107,97,98,111,117,116,47,102,117,108,108,115,101
	dw	116,95
	align	4
_10230:
	dd	_7630
	dd	533
	dd	3
	align	4
_10234:
	dd	3
	dd	0
	dd	0
	align	4
_10232:
	dd	_7630
	dd	534
	dd	4
	align	4
_639:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	67,111,110,118,101,114,116,105,110,103,32,72,101,114,111
	align	4
_10233:
	dd	_7630
	dd	535
	dd	4
	align	4
_10235:
	dd	_7630
	dd	538
	dd	3
	align	4
_10395:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-372
	dd	2
	dd	_10229
	dd	_7721
	dd	-376
	dd	0
	align	4
_10241:
	dd	_7630
	dd	539
	dd	4
	align	4
_643:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	104,101,114,111
	align	4
_10245:
	dd	_7630
	dd	540
	dd	4
	align	4
_10262:
	dd	_7630
	dd	541
	dd	4
	align	4
_10277:
	dd	_7630
	dd	542
	dd	4
	align	4
_10289:
	dd	_7630
	dd	543
	dd	4
	align	4
_10301:
	dd	_7630
	dd	545
	dd	4
	align	4
_10394:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-380
	dd	2
	dd	_9880
	dd	_7721
	dd	-384
	dd	2
	dd	_9879
	dd	_2567
	dd	-388
	dd	2
	dd	_10215
	dd	_2294
	dd	-392
	dd	0
	align	4
_10312:
	dd	_7630
	dd	546
	dd	5
	align	4
_10316:
	dd	_7630
	dd	547
	dd	5
	align	4
_10318:
	dd	_7630
	dd	548
	dd	5
	align	4
_10320:
	dd	_7630
	dd	549
	dd	5
	align	4
_10351:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-396
	dd	0
	align	4
_10326:
	dd	_7630
	dd	550
	dd	6
	align	4
_10350:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-400
	dd	0
	align	4
_10332:
	dd	_7630
	dd	551
	dd	7
	align	4
_10352:
	dd	_7630
	dd	554
	dd	5
	align	4
_10353:
	dd	_7630
	dd	555
	dd	5
	align	4
_10363:
	dd	_7630
	dd	556
	dd	5
	align	4
_10366:
	dd	3
	dd	0
	dd	0
	align	4
_10365:
	dd	_7630
	dd	557
	dd	6
	align	4
_10367:
	dd	_7630
	dd	559
	dd	5
	align	4
_653:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	47,103,114,97,112,104,105,99,115,47,104,101,114,111
	align	4
_10370:
	dd	3
	dd	0
	dd	0
	align	4
_10369:
	dd	_7630
	dd	560
	dd	6
	align	4
_10371:
	dd	_7630
	dd	562
	dd	5
	align	4
_654:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	103,114,97,112,104,105,99,115,47,104,101,114,111,47
	align	4
_10381:
	dd	_7630
	dd	563
	dd	5
	align	4
_655:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	47,103,114,97,112,104,105,99,115,47,104,101,114,111,47
	align	4
_10396:
	dd	_7630
	dd	568
	dd	3
	align	4
_10400:
	dd	3
	dd	0
	dd	0
	align	4
_10398:
	dd	_7630
	dd	569
	dd	4
	align	4
_656:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	67,111,110,118,101,114,116,105,110,103,32,32,83,109,97,108
	dw	108,32,69,110,101,109,121
	align	4
_10399:
	dd	_7630
	dd	570
	dd	4
	align	4
_10401:
	dd	_7630
	dd	573
	dd	3
	align	4
_10561:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-404
	dd	2
	dd	_10229
	dd	_7721
	dd	-408
	dd	0
	align	4
_10407:
	dd	_7630
	dd	574
	dd	4
	align	4
_660:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	115,109,97,108,108,101,110,101,109,121
	align	4
_10411:
	dd	_7630
	dd	575
	dd	4
	align	4
_10428:
	dd	_7630
	dd	576
	dd	4
	align	4
_10443:
	dd	_7630
	dd	577
	dd	4
	align	4
_10455:
	dd	_7630
	dd	578
	dd	4
	align	4
_10467:
	dd	_7630
	dd	580
	dd	4
	align	4
_10560:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-412
	dd	2
	dd	_9880
	dd	_7721
	dd	-416
	dd	2
	dd	_9879
	dd	_2567
	dd	-420
	dd	2
	dd	_10215
	dd	_2294
	dd	-424
	dd	0
	align	4
_10478:
	dd	_7630
	dd	581
	dd	5
	align	4
_10482:
	dd	_7630
	dd	582
	dd	5
	align	4
_10484:
	dd	_7630
	dd	583
	dd	5
	align	4
_10486:
	dd	_7630
	dd	584
	dd	5
	align	4
_10517:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-428
	dd	0
	align	4
_10492:
	dd	_7630
	dd	585
	dd	6
	align	4
_10516:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-432
	dd	0
	align	4
_10498:
	dd	_7630
	dd	586
	dd	7
	align	4
_10518:
	dd	_7630
	dd	589
	dd	5
	align	4
_10519:
	dd	_7630
	dd	590
	dd	5
	align	4
_10529:
	dd	_7630
	dd	591
	dd	5
	align	4
_10532:
	dd	3
	dd	0
	dd	0
	align	4
_10531:
	dd	_7630
	dd	592
	dd	6
	align	4
_10533:
	dd	_7630
	dd	594
	dd	5
	align	4
_670:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	47,103,114,97,112,104,105,99,115,47,115,109,95,101,110,101
	dw	109,121
	align	4
_10536:
	dd	3
	dd	0
	dd	0
	align	4
_10535:
	dd	_7630
	dd	595
	dd	6
	align	4
_10537:
	dd	_7630
	dd	597
	dd	5
	align	4
_671:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	103,114,97,112,104,105,99,115,47,115,109,95,101,110,101,109
	dw	121,47
	align	4
_10547:
	dd	_7630
	dd	598
	dd	5
	align	4
_672:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	47,103,114,97,112,104,105,99,115,47,115,109,95,101,110,101
	dw	109,121,47
	align	4
_10562:
	dd	_7630
	dd	604
	dd	3
	align	4
_10566:
	dd	3
	dd	0
	dd	0
	align	4
_10564:
	dd	_7630
	dd	605
	dd	4
	align	4
_673:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	67,111,110,118,101,114,116,105,110,103,32,77,101,100,105,117
	dw	109,32,69,110,101,109,121
	align	4
_10565:
	dd	_7630
	dd	606
	dd	4
	align	4
_10567:
	dd	_7630
	dd	610
	dd	3
	align	4
_10727:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-436
	dd	2
	dd	_10229
	dd	_7721
	dd	-440
	dd	0
	align	4
_10573:
	dd	_7630
	dd	611
	dd	4
	align	4
_677:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	109,101,100,105,117,109,101,110,101,109,121
	align	4
_10577:
	dd	_7630
	dd	612
	dd	4
	align	4
_10594:
	dd	_7630
	dd	613
	dd	4
	align	4
_10609:
	dd	_7630
	dd	614
	dd	4
	align	4
_10621:
	dd	_7630
	dd	615
	dd	4
	align	4
_10633:
	dd	_7630
	dd	617
	dd	4
	align	4
_10726:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-444
	dd	2
	dd	_9880
	dd	_7721
	dd	-448
	dd	2
	dd	_9879
	dd	_2567
	dd	-452
	dd	2
	dd	_10215
	dd	_2294
	dd	-456
	dd	0
	align	4
_10644:
	dd	_7630
	dd	618
	dd	5
	align	4
_10648:
	dd	_7630
	dd	619
	dd	5
	align	4
_10650:
	dd	_7630
	dd	620
	dd	5
	align	4
_10652:
	dd	_7630
	dd	621
	dd	5
	align	4
_10683:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-460
	dd	0
	align	4
_10658:
	dd	_7630
	dd	622
	dd	6
	align	4
_10682:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-464
	dd	0
	align	4
_10664:
	dd	_7630
	dd	623
	dd	7
	align	4
_10684:
	dd	_7630
	dd	626
	dd	5
	align	4
_10685:
	dd	_7630
	dd	627
	dd	5
	align	4
_10695:
	dd	_7630
	dd	628
	dd	5
	align	4
_10698:
	dd	3
	dd	0
	dd	0
	align	4
_10697:
	dd	_7630
	dd	629
	dd	6
	align	4
_10699:
	dd	_7630
	dd	631
	dd	5
	align	4
_687:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	47,103,114,97,112,104,105,99,115,47,109,100,95,101,110,101
	dw	109,121
	align	4
_10702:
	dd	3
	dd	0
	dd	0
	align	4
_10701:
	dd	_7630
	dd	632
	dd	6
	align	4
_10703:
	dd	_7630
	dd	634
	dd	5
	align	4
_688:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	103,114,97,112,104,105,99,115,47,109,100,95,101,110,101,109
	dw	121,47
	align	4
_10713:
	dd	_7630
	dd	635
	dd	5
	align	4
_689:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	47,103,114,97,112,104,105,99,115,47,109,100,95,101,110,101
	dw	109,121,47
	align	4
_10728:
	dd	_7630
	dd	641
	dd	3
	align	4
_10732:
	dd	3
	dd	0
	dd	0
	align	4
_10730:
	dd	_7630
	dd	642
	dd	4
	align	4
_690:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	67,111,110,118,101,114,116,105,110,103,32,76,97,114,103,101
	dw	32,69,110,101,109,121
	align	4
_10731:
	dd	_7630
	dd	643
	dd	4
	align	4
_10733:
	dd	_7630
	dd	647
	dd	3
	align	4
_10893:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-468
	dd	2
	dd	_10229
	dd	_7721
	dd	-472
	dd	0
	align	4
_10739:
	dd	_7630
	dd	648
	dd	4
	align	4
_694:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	108,97,114,103,101,101,110,101,109,121
	align	4
_10743:
	dd	_7630
	dd	649
	dd	4
	align	4
_10760:
	dd	_7630
	dd	650
	dd	4
	align	4
_10775:
	dd	_7630
	dd	651
	dd	4
	align	4
_10787:
	dd	_7630
	dd	652
	dd	4
	align	4
_10799:
	dd	_7630
	dd	654
	dd	4
	align	4
_10892:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-476
	dd	2
	dd	_9880
	dd	_7721
	dd	-480
	dd	2
	dd	_9879
	dd	_2567
	dd	-484
	dd	2
	dd	_10215
	dd	_2294
	dd	-488
	dd	0
	align	4
_10810:
	dd	_7630
	dd	655
	dd	5
	align	4
_10814:
	dd	_7630
	dd	656
	dd	5
	align	4
_10816:
	dd	_7630
	dd	657
	dd	5
	align	4
_10818:
	dd	_7630
	dd	658
	dd	5
	align	4
_10849:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-492
	dd	0
	align	4
_10824:
	dd	_7630
	dd	659
	dd	6
	align	4
_10848:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-496
	dd	0
	align	4
_10830:
	dd	_7630
	dd	660
	dd	7
	align	4
_10850:
	dd	_7630
	dd	663
	dd	5
	align	4
_10851:
	dd	_7630
	dd	664
	dd	5
	align	4
_10861:
	dd	_7630
	dd	665
	dd	5
	align	4
_10864:
	dd	3
	dd	0
	dd	0
	align	4
_10863:
	dd	_7630
	dd	666
	dd	6
	align	4
_10865:
	dd	_7630
	dd	668
	dd	5
	align	4
_704:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	47,103,114,97,112,104,105,99,115,47,108,103,95,101,110,101
	dw	109,121
	align	4
_10868:
	dd	3
	dd	0
	dd	0
	align	4
_10867:
	dd	_7630
	dd	669
	dd	6
	align	4
_10869:
	dd	_7630
	dd	671
	dd	5
	align	4
_705:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	103,114,97,112,104,105,99,115,47,108,103,95,101,110,101,109
	dw	121,47
	align	4
_10879:
	dd	_7630
	dd	672
	dd	5
	align	4
_706:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	47,103,114,97,112,104,105,99,115,47,108,103,95,101,110,101
	dw	109,121,47
	align	4
_10894:
	dd	_7630
	dd	678
	dd	3
	align	4
_10898:
	dd	3
	dd	0
	dd	0
	align	4
_10896:
	dd	_7630
	dd	679
	dd	4
	align	4
_707:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	67,111,110,118,101,114,116,105,110,103,32,65,116,116,97,99
	dw	107,115
	align	4
_10897:
	dd	_7630
	dd	680
	dd	4
	align	4
_10899:
	dd	_7630
	dd	684
	dd	3
	align	4
_11059:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-500
	dd	2
	dd	_10229
	dd	_7721
	dd	-504
	dd	0
	align	4
_10905:
	dd	_7630
	dd	685
	dd	4
	align	4
_711:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	97,116,116,97,99,107
	align	4
_10909:
	dd	_7630
	dd	686
	dd	4
	align	4
_10926:
	dd	_7630
	dd	687
	dd	4
	align	4
_10941:
	dd	_7630
	dd	688
	dd	4
	align	4
_10953:
	dd	_7630
	dd	689
	dd	4
	align	4
_10965:
	dd	_7630
	dd	691
	dd	4
	align	4
_11058:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-508
	dd	2
	dd	_9880
	dd	_7721
	dd	-512
	dd	2
	dd	_9879
	dd	_2567
	dd	-516
	dd	2
	dd	_10215
	dd	_2294
	dd	-520
	dd	0
	align	4
_10976:
	dd	_7630
	dd	692
	dd	5
	align	4
_10980:
	dd	_7630
	dd	693
	dd	5
	align	4
_10982:
	dd	_7630
	dd	694
	dd	5
	align	4
_10984:
	dd	_7630
	dd	695
	dd	5
	align	4
_11015:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-524
	dd	0
	align	4
_10990:
	dd	_7630
	dd	696
	dd	6
	align	4
_11014:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-528
	dd	0
	align	4
_10996:
	dd	_7630
	dd	697
	dd	7
	align	4
_11016:
	dd	_7630
	dd	700
	dd	5
	align	4
_11017:
	dd	_7630
	dd	701
	dd	5
	align	4
_11027:
	dd	_7630
	dd	702
	dd	5
	align	4
_11030:
	dd	3
	dd	0
	dd	0
	align	4
_11029:
	dd	_7630
	dd	703
	dd	6
	align	4
_11031:
	dd	_7630
	dd	705
	dd	5
	align	4
_721:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	47,103,114,97,112,104,105,99,115,47,97,116,116,97,99,107
	dw	115
	align	4
_11034:
	dd	3
	dd	0
	dd	0
	align	4
_11033:
	dd	_7630
	dd	706
	dd	6
	align	4
_11035:
	dd	_7630
	dd	708
	dd	5
	align	4
_722:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	103,114,97,112,104,105,99,115,47,97,116,116,97,99,107,115
	dw	47
	align	4
_11045:
	dd	_7630
	dd	709
	dd	5
	align	4
_723:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	47,103,114,97,112,104,105,99,115,47,97,116,116,97,99,107
	dw	115,47
	align	4
_11060:
	dd	_7630
	dd	715
	dd	3
	align	4
_11064:
	dd	3
	dd	0
	dd	0
	align	4
_11062:
	dd	_7630
	dd	716
	dd	4
	align	4
_724:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	67,111,110,118,101,114,116,105,110,103,32,87,101,97,112,111
	dw	110,115
	align	4
_11063:
	dd	_7630
	dd	717
	dd	4
	align	4
_11065:
	dd	_7630
	dd	721
	dd	3
	align	4
_11225:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-532
	dd	2
	dd	_10229
	dd	_7721
	dd	-536
	dd	0
	align	4
_11071:
	dd	_7630
	dd	722
	dd	4
	align	4
_728:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	119,101,97,112,111,110
	align	4
_11075:
	dd	_7630
	dd	723
	dd	4
	align	4
_11092:
	dd	_7630
	dd	724
	dd	4
	align	4
_11107:
	dd	_7630
	dd	725
	dd	4
	align	4
_11119:
	dd	_7630
	dd	726
	dd	4
	align	4
_11131:
	dd	_7630
	dd	728
	dd	4
	align	4
_11224:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-540
	dd	2
	dd	_9880
	dd	_7721
	dd	-544
	dd	2
	dd	_9879
	dd	_2567
	dd	-548
	dd	2
	dd	_10215
	dd	_2294
	dd	-552
	dd	0
	align	4
_11142:
	dd	_7630
	dd	729
	dd	5
	align	4
_11146:
	dd	_7630
	dd	730
	dd	5
	align	4
_11148:
	dd	_7630
	dd	731
	dd	5
	align	4
_11150:
	dd	_7630
	dd	732
	dd	5
	align	4
_11181:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-556
	dd	0
	align	4
_11156:
	dd	_7630
	dd	733
	dd	6
	align	4
_11180:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-560
	dd	0
	align	4
_11162:
	dd	_7630
	dd	734
	dd	7
	align	4
_11182:
	dd	_7630
	dd	737
	dd	5
	align	4
_11183:
	dd	_7630
	dd	738
	dd	5
	align	4
_11193:
	dd	_7630
	dd	739
	dd	5
	align	4
_11196:
	dd	3
	dd	0
	dd	0
	align	4
_11195:
	dd	_7630
	dd	740
	dd	6
	align	4
_11197:
	dd	_7630
	dd	742
	dd	5
	align	4
_738:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	47,103,114,97,112,104,105,99,115,47,119,101,97,112,111,110
	dw	115
	align	4
_11200:
	dd	3
	dd	0
	dd	0
	align	4
_11199:
	dd	_7630
	dd	743
	dd	6
	align	4
_11201:
	dd	_7630
	dd	745
	dd	5
	align	4
_739:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	103,114,97,112,104,105,99,115,47,119,101,97,112,111,110,115
	dw	47
	align	4
_11211:
	dd	_7630
	dd	746
	dd	5
	align	4
_740:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	47,103,114,97,112,104,105,99,115,47,119,101,97,112,111,110
	dw	115,47
	align	4
_11226:
	dd	_7630
	dd	751
	dd	3
	align	4
_11230:
	dd	3
	dd	0
	dd	0
	align	4
_11228:
	dd	_7630
	dd	752
	dd	4
	align	4
_741:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	67,111,110,118,101,114,116,105,110,103,32,66,111,120,32,66
	dw	111,114,100,101,114,115
	align	4
_11229:
	dd	_7630
	dd	753
	dd	4
	align	4
_11231:
	dd	_7630
	dd	757
	dd	3
	align	4
_11391:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-564
	dd	2
	dd	_10229
	dd	_7721
	dd	-568
	dd	0
	align	4
_11237:
	dd	_7630
	dd	758
	dd	4
	align	4
_745:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	98,111,120
	align	4
_11241:
	dd	_7630
	dd	759
	dd	4
	align	4
_11258:
	dd	_7630
	dd	760
	dd	4
	align	4
_11273:
	dd	_7630
	dd	761
	dd	4
	align	4
_11285:
	dd	_7630
	dd	762
	dd	4
	align	4
_11297:
	dd	_7630
	dd	764
	dd	4
	align	4
_11390:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-572
	dd	2
	dd	_9880
	dd	_7721
	dd	-576
	dd	2
	dd	_9879
	dd	_2567
	dd	-580
	dd	2
	dd	_10215
	dd	_2294
	dd	-584
	dd	0
	align	4
_11308:
	dd	_7630
	dd	765
	dd	5
	align	4
_11312:
	dd	_7630
	dd	766
	dd	5
	align	4
_11314:
	dd	_7630
	dd	767
	dd	5
	align	4
_11316:
	dd	_7630
	dd	768
	dd	5
	align	4
_11347:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-588
	dd	0
	align	4
_11322:
	dd	_7630
	dd	769
	dd	6
	align	4
_11346:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-592
	dd	0
	align	4
_11328:
	dd	_7630
	dd	770
	dd	7
	align	4
_11348:
	dd	_7630
	dd	773
	dd	5
	align	4
_11349:
	dd	_7630
	dd	774
	dd	5
	align	4
_11359:
	dd	_7630
	dd	775
	dd	5
	align	4
_11362:
	dd	3
	dd	0
	dd	0
	align	4
_11361:
	dd	_7630
	dd	776
	dd	6
	align	4
_11363:
	dd	_7630
	dd	778
	dd	5
	align	4
_755:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	47,103,114,97,112,104,105,99,115,47,98,111,114,100,101,114
	dw	115
	align	4
_11366:
	dd	3
	dd	0
	dd	0
	align	4
_11365:
	dd	_7630
	dd	779
	dd	6
	align	4
_11367:
	dd	_7630
	dd	781
	dd	5
	align	4
_756:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	103,114,97,112,104,105,99,115,47,98,111,114,100,101,114,115
	dw	47
	align	4
_11377:
	dd	_7630
	dd	782
	dd	5
	align	4
_757:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	47,103,114,97,112,104,105,99,115,47,98,111,114,100,101,114
	dw	115,47
	align	4
_11392:
	dd	_7630
	dd	788
	dd	3
	align	4
_11396:
	dd	3
	dd	0
	dd	0
	align	4
_11394:
	dd	_7630
	dd	789
	dd	4
	align	4
_758:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	67,111,110,118,101,114,116,105,110,103,32,80,111,114,116,114
	dw	97,105,116,115
	align	4
_11395:
	dd	_7630
	dd	790
	dd	4
	align	4
_11397:
	dd	_7630
	dd	794
	dd	3
	align	4
_11557:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-596
	dd	2
	dd	_10229
	dd	_7721
	dd	-600
	dd	0
	align	4
_11403:
	dd	_7630
	dd	795
	dd	4
	align	4
_762:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	112,111,114,116,114,97,105,116
	align	4
_11407:
	dd	_7630
	dd	796
	dd	4
	align	4
_11424:
	dd	_7630
	dd	797
	dd	4
	align	4
_11439:
	dd	_7630
	dd	798
	dd	4
	align	4
_11451:
	dd	_7630
	dd	799
	dd	4
	align	4
_11463:
	dd	_7630
	dd	801
	dd	4
	align	4
_11556:
	dd	3
	dd	0
	dd	2
	dd	_3273
	dd	_805
	dd	-604
	dd	2
	dd	_9880
	dd	_7721
	dd	-608
	dd	2
	dd	_9879
	dd	_2567
	dd	-612
	dd	2
	dd	_10215
	dd	_2294
	dd	-616
	dd	0
	align	4
_11474:
	dd	_7630
	dd	802
	dd	5
	align	4
_11478:
	dd	_7630
	dd	803
	dd	5
	align	4
_11480:
	dd	_7630
	dd	804
	dd	5
	align	4
_11482:
	dd	_7630
	dd	805
	dd	5
	align	4
_11513:
	dd	3
	dd	0
	dd	2
	dd	_6889
	dd	_805
	dd	-620
	dd	0
	align	4
_11488:
	dd	_7630
	dd	806
	dd	6
	align	4
_11512:
	dd	3
	dd	0
	dd	2
	dd	_6888
	dd	_805
	dd	-624
	dd	0
	align	4
_11494:
	dd	_7630
	dd	807
	dd	7
	align	4
_11514:
	dd	_7630
	dd	810
	dd	5
	align	4
_11515:
	dd	_7630
	dd	811
	dd	5
	align	4
_11525:
	dd	_7630
	dd	812
	dd	5
	align	4
_11528:
	dd	3
	dd	0
	dd	0
	align	4
_11527:
	dd	_7630
	dd	813
	dd	6
	align	4
_11529:
	dd	_7630
	dd	815
	dd	5
	align	4
_772:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	47,103,114,97,112,104,105,99,115,47,112,111,114,116,114,97
	dw	105,116,115
	align	4
_11532:
	dd	3
	dd	0
	dd	0
	align	4
_11531:
	dd	_7630
	dd	816
	dd	6
	align	4
_11533:
	dd	_7630
	dd	818
	dd	5
	align	4
_773:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	103,114,97,112,104,105,99,115,47,112,111,114,116,114,97,105
	dw	116,115,47
	align	4
_11543:
	dd	_7630
	dd	819
	dd	5
	align	4
_774:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	47,103,114,97,112,104,105,99,115,47,112,111,114,116,114,97
	dw	105,116,115,47
	align	4
_11558:
	dd	_7630
	dd	825
	dd	3
	align	4
_11562:
	dd	3
	dd	0
	dd	0
	align	4
_11560:
	dd	_7630
	dd	826
	dd	4
	align	4
_775:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	82,101,115,97,118,105,110,103,32,77,117,115,105,99
	align	4
_11561:
	dd	_7630
	dd	827
	dd	4
	align	4
_11563:
	dd	_7630
	dd	830
	dd	3
	align	4
_776:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	115,111,110,103,115
	align	4
_11567:
	dd	_7630
	dd	831
	dd	3
	align	4
_11579:
	dd	_7630
	dd	832
	dd	3
_11663:
	db	"music_node",0
	align	4
_11662:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-628
	dd	2
	dd	_11663
	dd	_7721
	dd	-632
	dd	0
	align	4
_11585:
	dd	_7630
	dd	833
	dd	4
	align	4
_11589:
	dd	_7630
	dd	834
	dd	4
	align	4
_11599:
	dd	_7630
	dd	835
	dd	4
	align	4
_780:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	47,109,117,115,105,99
	align	4
_11602:
	dd	3
	dd	0
	dd	0
	align	4
_11601:
	dd	_7630
	dd	836
	dd	5
	align	4
_11603:
	dd	_7630
	dd	838
	dd	4
	align	4
_783:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	47,109,117,115,105,99,47
	align	4
_782:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	32,116,111,32
	align	4
_781:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	77,79,86,69,32,83,79,78,71,58,32
	align	4
_11618:
	dd	_7630
	dd	839
	dd	4
	align	4
_11633:
	dd	_7630
	dd	840
	dd	4
	align	4
_11650:
	dd	_7630
	dd	842
	dd	4
	align	4
_11661:
	dd	3
	dd	0
	dd	0
	align	4
_11652:
	dd	_7630
	dd	843
	dd	5
	align	4
_784:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	77,111,118,105,110,103,32,83,111,110,103,58,32
	align	4
_11660:
	dd	_7630
	dd	844
	dd	5
	align	4
_11664:
	dd	_7630
	dd	849
	dd	3
	align	4
_785:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	115,111,117,110,100,115
	align	4
_11668:
	dd	_7630
	dd	850
	dd	3
	align	4
_11680:
	dd	_7630
	dd	851
	dd	3
_11764:
	db	"sfx_node",0
	align	4
_11763:
	dd	3
	dd	0
	dd	2
	dd	_805
	dd	_805
	dd	-636
	dd	2
	dd	_11764
	dd	_7721
	dd	-640
	dd	0
	align	4
_11686:
	dd	_7630
	dd	852
	dd	4
	align	4
_789:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	115,111,117,110,100
	align	4
_11690:
	dd	_7630
	dd	853
	dd	4
	align	4
_11700:
	dd	_7630
	dd	854
	dd	4
	align	4
_790:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	47,115,111,117,110,100,115
	align	4
_11703:
	dd	3
	dd	0
	dd	0
	align	4
_11702:
	dd	_7630
	dd	855
	dd	5
	align	4
_11704:
	dd	_7630
	dd	857
	dd	4
	align	4
_792:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	47,115,111,117,110,100,115,47
	align	4
_791:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	77,79,86,69,32,83,79,85,78,68,58,32
	align	4
_11719:
	dd	_7630
	dd	858
	dd	4
	align	4
_11734:
	dd	_7630
	dd	859
	dd	4
	align	4
_11751:
	dd	_7630
	dd	861
	dd	4
	align	4
_11762:
	dd	3
	dd	0
	dd	0
	align	4
_11753:
	dd	_7630
	dd	862
	dd	5
	align	4
_793:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	77,111,118,105,110,103,32,83,111,117,110,100,58,32
	align	4
_11761:
	dd	_7630
	dd	863
	dd	5
	align	4
_11765:
	dd	_7630
	dd	871
	dd	3
	align	4
_11769:
	dd	3
	dd	0
	dd	0
	align	4
_11767:
	dd	_7630
	dd	872
	dd	4
	align	4
_794:
	dd	_bbStringClass
	dd	2147483647
	dd	47
	dw	83,97,118,105,110,103,32,110,101,119,32,102,111,114,109,97
	dw	116,46,32,80,108,101,97,115,101,32,119,97,105,116,46,109
	dw	97,121,32,116,97,107,101,32,97,32,119,104,105,108,101
	align	4
_11768:
	dd	_7630
	dd	873
	dd	4
	align	4
_11770:
	dd	_7630
	dd	876
	dd	3
	align	4
_795:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	47,109,121,114,112,103,46,120,109,108
	align	4
_11773:
	dd	_7630
	dd	877
	dd	3
	align	4
_11777:
	dd	3
	dd	0
	dd	0
	align	4
_11775:
	dd	_7630
	dd	878
	dd	4
	align	4
_796:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	70,105,110,105,115,104,101,100,32,87,114,105,116,105,110,103
	align	4
_11776:
	dd	_7630
	dd	879
	dd	4
